Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/dtd
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20382/src/main/java/org/xdoclet/plugin/hibernate/dtd
Modified Files:
hibernate-mapping-3.0.dtd
Log Message:
(XDP-68) Implemented correct support for 'access' property
Index: hibernate-mapping-3.0.dtd
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/dtd/hibernate-mapping-3.0.dtd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** hibernate-mapping-3.0.dtd 13 May 2005 07:44:17 -0000 1.2
--- hibernate-mapping-3.0.dtd 22 Jun 2005 15:54:03 -0000 1.3
***************
*** 67,72 ****
--- 67,74 ----
cache?,
synchronize*,
+ comment?,
(id|composite-id),
discriminator?,
+ natural-id?,
(version|timestamp)?,
(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array|query-list)*,
***************
*** 126,129 ****
--- 128,132 ----
<!ELEMENT join (
subselect?,
+ comment?,
key,
(property|many-to-one|component|dynamic-component|any)*,
***************
*** 138,141 ****
--- 141,149 ----
<!ATTLIST join optional (true|false) "false">
+ <!-- A natural-id element allows declaration of the unique business key -->
+
+ <!ELEMENT natural-id (
(property|many-to-one|component|dynamic-component|any)* )>
+ <!ATTLIST natural-id mutable (true|false) "false">
+
<!-- Declares the id type, column and generation algorithm for an entity
class.
If a name attribut is given, the id is exposed to the application through the
***************
*** 231,234 ****
--- 239,243 ----
subselect?,
synchronize*,
+ comment?,
key,
(property|many-to-one|one-to-one|component|dynamic-component|any|map|set|list|bag|idbag|array|primitive-array|query-list)*,
***************
*** 263,266 ****
--- 272,276 ----
subselect?,
synchronize*,
+ comment?,
(property|many-to-one|one-to-one|component|dynamic-component|any|map|set|list|bag|idbag|array|primitive-array|query-list)*,
union-subclass*,
***************
*** 297,307 ****
<!ATTLIST property precision CDATA #IMPLIED>
<!ATTLIST property scale CDATA #IMPLIED>
! <!ATTLIST property not-null (true|false) "false">
<!ATTLIST property unique (true|false) "false">
<!ATTLIST property update (true|false) "true">
<!ATTLIST property insert (true|false) "true">
<!ATTLIST property optimistic-lock (true|false) "true"> <!-- only
supported for properties of a class (not component) -->
<!ATTLIST property formula CDATA #IMPLIED>
- <!ATTLIST property index CDATA #IMPLIED>
<!-- include the columns spanned by this property in an index -->
<!ATTLIST property lazy (true|false) "false">
--- 307,318 ----
<!ATTLIST property precision CDATA #IMPLIED>
<!ATTLIST property scale CDATA #IMPLIED>
! <!ATTLIST property not-null (true|false) #IMPLIED>
<!ATTLIST property unique (true|false) "false">
+ <!ATTLIST property unique-key CDATA #IMPLIED>
+ <!ATTLIST property index CDATA #IMPLIED>
<!-- include the columns spanned by this property in an index -->
<!ATTLIST property update (true|false) "true">
<!ATTLIST property insert (true|false) "true">
<!ATTLIST property optimistic-lock (true|false) "true"> <!-- only
supported for properties of a class (not component) -->
<!ATTLIST property formula CDATA #IMPLIED>
<!ATTLIST property lazy (true|false) "false">
***************
*** 320,325 ****
<!ATTLIST many-to-one entity-name CDATA #IMPLIED>
<!ATTLIST many-to-one column CDATA #IMPLIED>
! <!ATTLIST many-to-one not-null (true|false) "false">
<!ATTLIST many-to-one unique (true|false) "false">
<!ATTLIST many-to-one cascade CDATA #IMPLIED>
<!ATTLIST many-to-one outer-join (true|false|auto) #IMPLIED>
--- 331,338 ----
<!ATTLIST many-to-one entity-name CDATA #IMPLIED>
<!ATTLIST many-to-one column CDATA #IMPLIED>
! <!ATTLIST many-to-one not-null (true|false) #IMPLIED>
<!ATTLIST many-to-one unique (true|false) "false">
+ <!ATTLIST many-to-one unique-key CDATA #IMPLIED>
+ <!ATTLIST many-to-one index CDATA #IMPLIED>
<!ATTLIST many-to-one cascade CDATA #IMPLIED>
<!ATTLIST many-to-one outer-join (true|false|auto) #IMPLIED>
***************
*** 331,335 ****
<!ATTLIST many-to-one property-ref CDATA #IMPLIED>
<!ATTLIST many-to-one formula CDATA #IMPLIED>
- <!ATTLIST many-to-one index CDATA #IMPLIED>
<!-- include the columns spanned by this association in an index -->
<!ATTLIST many-to-one lazy (true|false|proxy) #IMPLIED>
<!ATTLIST many-to-one not-found (exception|ignore) "exception">
--- 344,347 ----
***************
*** 461,464 ****
--- 473,477 ----
cache?,
synchronize*,
+ comment?,
key,
(map-key|composite-map-key|map-key-many-to-many|index|composite-index|index-many-to-many|index-many-to-any),
***************
*** 494,497 ****
--- 507,511 ----
cache?,
synchronize*,
+ comment?,
key,
(element|one-to-many|many-to-many|composite-element|many-to-any),
***************
*** 526,529 ****
--- 540,544 ----
cache?,
synchronize*,
+ comment?,
key,
(element|one-to-many|many-to-many|composite-element|many-to-any),
***************
*** 557,560 ****
--- 572,576 ----
cache?,
synchronize*,
+ comment?,
collection-id,
key,
***************
*** 588,591 ****
--- 604,608 ----
cache?,
synchronize*,
+ comment?,
key,
(index|list-index),
***************
*** 619,622 ****
--- 636,640 ----
cache?,
synchronize*,
+ comment?,
key,
(index|list-index),
***************
*** 649,652 ****
--- 667,671 ----
cache?,
synchronize*,
+ comment?,
key,
(index|list-index),
***************
*** 818,822 ****
mapping associations to classes with composite ids. -->
! <!ELEMENT column EMPTY>
<!ATTLIST column name CDATA #REQUIRED>
<!ATTLIST column length CDATA #IMPLIED>
<!-- default: 255 -->
--- 837,841 ----
mapping associations to classes with composite ids. -->
! <!ELEMENT column (comment?)>
<!ATTLIST column name CDATA #REQUIRED>
<!ATTLIST column length CDATA #IMPLIED>
<!-- default: 255 -->
***************
*** 841,846 ****
<!ATTLIST cache region CDATA #IMPLIED>
<!-- default: class or collection role name -->
! <!-- A mapped query-list allows a named query to be attached to
! a property of the domain model -->
<!ELEMENT query-list EMPTY>
--- 860,869 ----
<!ATTLIST cache region CDATA #IMPLIED>
<!-- default: class or collection role name -->
! <!-- The comment element allows definition of a database table or column
comment. -->
!
! <!ELEMENT comment (#PCDATA)>
!
! <!-- A mapped query-list allows a named query to be attached to a property of
the
! domain model -->
<!ELEMENT query-list EMPTY>
***************
*** 884,888 ****
-->
<!ELEMENT return (return-discriminator?,return-property)*>
! <!ATTLIST return alias CDATA #REQUIRED>
<!ATTLIST return entity-name CDATA #IMPLIED>
<!ATTLIST return class CDATA #IMPLIED>
--- 907,911 ----
-->
<!ELEMENT return (return-discriminator?,return-property)*>
! <!ATTLIST return alias CDATA #IMPLIED>
<!ATTLIST return entity-name CDATA #IMPLIED>
<!ATTLIST return class CDATA #IMPLIED>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits