gdamour     2004/10/15 10:56:47

  Modified:    modules/core/src/schema openejb-jar.xsd
  Log:

  Adds support for automatic primary key generation. This mechanism can be used:
  - either to define the identity of EJB defining an unknown primary key; or
  - to define automatically the primary key of an EJB.
  
  Updates the various CMPFinder implementations in order to load in the InTxCache the 
found entities.
  
  Revision  Changes    Path
  1.11      +12 -1     openejb/modules/core/src/schema/openejb-jar.xsd
  
  Index: openejb-jar.xsd
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/schema/openejb-jar.xsd,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- openejb-jar.xsd   15 Oct 2004 01:49:05 -0000      1.10
  +++ openejb-jar.xsd   15 Oct 2004 14:56:47 -0000      1.11
  @@ -133,10 +133,22 @@
                       <xs:complexType>
                           <xs:sequence>
                               <xs:element name="cmp-field-name" type="xs:string"/>
  +                            <xs:element name="cmp-field-class" type="xs:string" 
minOccurs="0"/>
                               <xs:element name="table-column" type="xs:string"/>
                           </xs:sequence>
                       </xs:complexType>
                   </xs:element>
  +                <xs:element name="primkey-field" type="xs:string" minOccurs="0"/>
  +                <xs:sequence minOccurs="0">
  +                    <xs:element name="automatic-key-generation">
  +                        <xs:complexType>
  +                            <xs:sequence>
  +                                <xs:element name="generator-name" type="xs:string"/>
  +                                <xs:element name="primary-key-class" 
type="xs:string"/>
  +                            </xs:sequence>
  +                        </xs:complexType>
  +                    </xs:element>
  +                </xs:sequence>
               </xs:sequence>
   
               <xs:element name="query" type="openejb:queryType" minOccurs="0" 
maxOccurs="unbounded"/>
  @@ -239,6 +251,5 @@
               </xs:element>
           </xs:sequence>
       </xs:complexType>
  -
   
   </xs:schema>
  
  
  

Reply via email to