-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hibernate DTDs bundled with the application.
- This is to avoid application deployment problems when Hibernate is unable to validate configuration because of a poor internet connection. - See Q9 of http://wiki.unitime.org/Timetabling_Installation_FAQ git-svn-id: http://unitime.googlecode.com/svn/trunk@1504 cc804148-bb53-fe5c-6b9d-7ba62d325a45
- Loading branch information
tomas13
committed
Mar 30, 2010
1 parent
124c270
commit e404ee2
Showing
5 changed files
with
1,120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!-- Hibernate file-based configuration document. | ||
|
||
<!DOCTYPE hibernate-configuration PUBLIC | ||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" | ||
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | ||
|
||
An instance of this document contains property settings and references | ||
to mapping files for a number of SessionFactory instances to be listed | ||
in JNDI. | ||
|
||
--> | ||
|
||
<!ELEMENT hibernate-configuration (session-factory,security?)> | ||
|
||
<!ELEMENT property (#PCDATA)> | ||
<!ATTLIST property name CDATA #REQUIRED> | ||
|
||
<!ELEMENT mapping EMPTY> <!-- reference to a mapping file --> | ||
<!ATTLIST mapping resource CDATA #IMPLIED> | ||
<!ATTLIST mapping file CDATA #IMPLIED> | ||
<!ATTLIST mapping jar CDATA #IMPLIED> | ||
<!ATTLIST mapping package CDATA #IMPLIED> | ||
<!ATTLIST mapping class CDATA #IMPLIED> | ||
|
||
<!ELEMENT class-cache EMPTY> | ||
<!ATTLIST class-cache class CDATA #REQUIRED> | ||
<!ATTLIST class-cache region CDATA #IMPLIED> | ||
<!ATTLIST class-cache usage (read-only|read-write|nonstrict-read-write|transactional) #REQUIRED> | ||
<!ATTLIST class-cache include (all|non-lazy) "all"> | ||
|
||
<!ELEMENT collection-cache EMPTY> | ||
<!ATTLIST collection-cache collection CDATA #REQUIRED> | ||
<!ATTLIST collection-cache region CDATA #IMPLIED> | ||
<!ATTLIST collection-cache usage (read-only|read-write|nonstrict-read-write|transactional) #REQUIRED> | ||
|
||
<!ELEMENT event (listener*)> | ||
<!ATTLIST event type (auto-flush|merge|create|delete|dirty-check|evict|flush|flush-entity|load|load-collection|lock|refresh|replicate|save-update|save|update|pre-load|pre-update|pre-insert|pre-delete|post-load|post-update|post-insert|post-delete|post-commit-update|post-commit-insert|post-commit-delete) #REQUIRED> | ||
|
||
<!ELEMENT listener EMPTY> | ||
<!ATTLIST listener type (auto-flush|merge|create|delete|dirty-check|evict|flush|flush-entity|load|load-collection|lock|refresh|replicate|save-update|save|update|pre-load|pre-update|pre-insert|pre-delete|post-load|post-update|post-insert|post-delete|post-commit-update|post-commit-insert|post-commit-delete) #IMPLIED> | ||
<!ATTLIST listener class CDATA #REQUIRED> | ||
|
||
<!ELEMENT session-factory (property*, mapping*, (class-cache|collection-cache)*, event*, listener*)> | ||
<!ATTLIST session-factory name CDATA #IMPLIED> <!-- the JNDI name --> | ||
|
||
<!ELEMENT security (grant*)> | ||
<!ATTLIST security context CDATA #REQUIRED> <!--the JACC contextID--> | ||
|
||
<!ELEMENT grant EMPTY> | ||
<!ATTLIST grant role CDATA #REQUIRED> | ||
<!ATTLIST grant entity-name CDATA #REQUIRED> | ||
<!ATTLIST grant actions CDATA #REQUIRED> |
Oops, something went wrong.