gdamour     2006/01/31 08:31:07

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

  GERONIMO-1545 CMP update statements will cause incorrect trigger firing
  in a database
  
  The optional flag <static-sql> can be used to control the way a CMP is
  updated. By default, an UPDATE statement is dynamically generated each time
  that a CMP needs to be persisted. This statement only updates the columns
  which have been updated during the transaction,
  
  When <static-sql> is set, a single UPDATE statement is generated whatever
  the CMP fields to be actually updated. This was the previous strategy.
  
  Revision  Changes    Path
  1.9       +1 -0      
openejb/modules/openejb-builder/src/schema/openejb-jar-2.0.xsd
  
  Index: openejb-jar-2.0.xsd
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/schema/openejb-jar-2.0.xsd,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- openejb-jar-2.0.xsd       21 Dec 2005 14:21:55 -0000      1.8
  +++ openejb-jar-2.0.xsd       31 Jan 2006 13:31:07 -0000      1.9
  @@ -193,6 +193,7 @@
   
               <xs:sequence minOccurs="0">
                   <xs:element name="table-name" type="xs:string"/>
  +                <xs:element name="static-sql" type="openejb:emptyType" 
minOccurs="0"/>

                   <xs:element name="cmp-field-mapping" maxOccurs="unbounded">
                       <xs:complexType>
                           <xs:sequence>
  
  
  

Reply via email to