User: patriot1burke
  Date: 01/12/04 21:05:20

  Modified:    src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd
  Log:
  renamed select-for-update to row-locking
  
  Also defined row-locking-template to every type-mapping since it is now required
  for every datastore type.
  
  Revision  Changes    Path
  1.3       +13 -8     jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd
  
  Index: jbosscmp-jdbc_3_0.dtd
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jbosscmp-jdbc_3_0.dtd     2001/12/01 21:56:24     1.2
  +++ jbosscmp-jdbc_3_0.dtd     2001/12/05 05:05:20     1.3
  @@ -18,7 +18,7 @@
   entities, and relationships.
   -->
   <!ELEMENT defaults (datasource?, type-mapping?, create-table?, remove-table?,
  -         read-only?, time-out?, select-for-update?, pk-constraint?,
  +         read-only?, time-out?, row-locking?, pk-constraint?,
            fk-constraint?, preferred-relation-mapping?, read-ahead?)>
   
   
  @@ -71,11 +71,11 @@
   <!--
   Should select statements the SELECT ... FOR UPDATE syntax?
   
  -The select-for-update element must be one of the two following:
  -         <select-for-update>true</select-for-update>
  -         <select-for-update>false</select-for-update>
  +The row-locking element must be one of the two following:
  +         <row-locking>true</row-locking>
  +         <row-locking>false</row-locking>
   -->
  -<!ELEMENT select-for-update (#PCDATA)>
  +<!ELEMENT row-locking (#PCDATA)>
   
   
   <!--
  @@ -169,7 +169,7 @@
   The entity element contains the configuration of an entity
   -->
   <!ELEMENT entity (ejb-name, datasource?, type-mapping?, create-table?, 
  -         remove-table?, read-only?, time-out?, select-for-update?, 
  +         remove-table?, read-only?, time-out?, row-locking?, 
            pk-constraint?, read-ahead?, table-name?, cmp-field*, 
            eager-load?, lazy-load-groups*, query*)>
   
  @@ -411,7 +411,7 @@
   relationships.
   -->
   <!ELEMENT table-mapping (table-name?, datasource?, create-table?, 
  -         remove-table?, select-for-update?, pk-constraint?,
  +         remove-table?, row-locking?, pk-constraint?,
            (ejb-relationship-role, ejb-relationship-role)?)>
   
   
  @@ -467,7 +467,7 @@
   
   
   Should be:
  -<!ELEMENT type-mapping (name, (function-mapping, mapping)+)>
  +<!ELEMENT type-mapping (name, row-locking-template, (function-mapping, mapping)+)>
   -->
   <!ELEMENT type-mapping ANY>
   
  @@ -475,6 +475,11 @@
   Name of the type-mapping.
   -->
   <!ELEMENT name (#PCDATA)>
  +
  +<!-- 
  +Specifies the java class type to be mapped.
  +-->
  +<!ELEMENT row-locking-template (#PCDATA)>
   
   <!--
   Specifies the mapping from a java type to a jdbc and a sql type.
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to