gdamour     2006/01/07 22:39:54

  Modified:    modules/pkgen-builder/src/schema openejb-pkgen-2.0.xsd
  Log:

  GERONIMO-1133 UUID primary key generator
  
  Add the pk generator "uuid".
  
  Revision  Changes    Path
  1.2       +3 -6      
openejb/modules/pkgen-builder/src/schema/openejb-pkgen-2.0.xsd
  
  Index: openejb-pkgen-2.0.xsd
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/pkgen-builder/src/schema/openejb-pkgen-2.0.xsd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- openejb-pkgen-2.0.xsd     28 Sep 2005 22:14:28 -0000      1.1
  +++ openejb-pkgen-2.0.xsd     8 Jan 2006 03:39:54 -0000       1.2
  @@ -56,6 +56,8 @@
       version="1.0">
   
       <xsd:element name="key-generator" type="pkgen:key-generatorType"/>
  +

  +    <xsd:complexType name="emptyType"/>

   
       <xsd:complexType name="key-generatorType">
           <xsd:annotation>
  @@ -68,12 +70,7 @@
           </xsd:annotation>
   
           <xsd:choice>
  -<!-- Add this in as soon as TranQL has support.
  -     I assume it needs some kind of token PK generator that just tells
  -     it which column(s) in the table will be populated automatically
  -     by a database feature (such as MySQL AUTO_INCREMENT columns or a
  -     pre-insert trigger or whatever)
  -            <xsd:element name="database-generated" 
type="pkgen:database-generatedType" /> -->
  +            <xsd:element name="uuid" type="pkgen:emptyType"/>
               <xsd:element name="sequence-table" 
type="pkgen:sequence-tableType" />
               <xsd:element name="auto-increment-table" 
type="pkgen:auto-increment-tableType" />
               <xsd:element name="sql-generator" type="pkgen:sql-generatorType" 
/>
  
  
  

Reply via email to