dain        2005/02/14 22:24:05

  Modified:    modules/itests/src/ejb/META-INF ejb-jar.xml openejb-jar.xml
  Log:

  o Finished GERONIMO-181 Transaction propogation accross calls to stateful 
session beans
  
  o Added code resume and suspend the BMT transaction to 
StatefulInstanceInterceptor.  This code must be here because the instance 
context holds the suspended transaction, and this context is not available in 
the transaction interceptor.  Also the code that "finds" the correct instance 
relies on the transaction context already being established
  
  o Enabled stateful tests for session synchronization callbacks
  
  o Session synchronization callbacks now go through the system interceptor 
chain
  
  o Container policies now setRollbackOnly and throw a 
TransactionRolledbac[Local]Exception when a system exception is thrown in an 
inherited transaction
  
  o Fixed GERONIMO-579 UserTransaction broken after BMT calls BMT
  
  o Added support for ejb-ql back into the openejb-jar.xml file so 1.1 beans 
can use ejb-ql for a query specification
  
  o Fixed client side handle serialization code
  
  o Fixed stateful session ejb object isIdentical code; was not comparing 
primary key
  
  o Fixed handling of remove methods
  
  Revision  Changes    Path
  1.6       +0 -40     openejb/modules/itests/src/ejb/META-INF/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/itests/src/ejb/META-INF/ejb-jar.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ejb-jar.xml       5 Feb 2005 00:34:44 -0000       1.5
  +++ ejb-jar.xml       15 Feb 2005 03:24:04 -0000      1.6
  @@ -54,26 +54,6 @@
                   <res-type>javax.sql.DataSource</res-type>
                   <res-auth>Container</res-auth>
               </resource-ref>
  -            <query>
  -                <query-method>
  -                    <method-name>findByLastName</method-name>
  -                    <method-params>
  -                        <method-param>java.lang.String</method-param>
  -                    </method-params>
  -                </query-method>
  -                <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM BasicCmpBean AS a WHERE 
a.lastName = ?1]]>
  -                </ejb-ql>
  -            </query>
  -            <query>
  -                <query-method>
  -                    <method-name>findEmptyCollection</method-name>
  -                    <method-params/>
  -                </query-method>
  -                <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM BasicCmpBean AS a WHERE 1 = 
0]]>
  -                </ejb-ql>
  -            </query>
           </entity>
   
           <!--
  @@ -126,26 +106,6 @@
                   <res-type>javax.sql.DataSource</res-type>
                   <res-auth>Container</res-auth>
               </resource-ref>
  -            <query>
  -                <query-method>
  -                    <method-name>findByLastName</method-name>
  -                    <method-params>
  -                        <method-param>java.lang.String</method-param>
  -                    </method-params>
  -                </query-method>
  -                <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmpBean AS a WHERE 
a.lastName = ?1]]>
  -                </ejb-ql>
  -            </query>
  -            <query>
  -                <query-method>
  -                    <method-name>findEmptyCollection</method-name>
  -                    <method-params/>
  -                </query-method>
  -                <ejb-ql>
  -                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmpBean AS a WHERE 1 = 
0]]>
  -                </ejb-ql>
  -            </query>
           </entity>
   
           <!--
  
  
  
  1.12      +40 -0     openejb/modules/itests/src/ejb/META-INF/openejb-jar.xml
  
  Index: openejb-jar.xml
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/itests/src/ejb/META-INF/openejb-jar.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- openejb-jar.xml   24 Jan 2005 21:16:48 -0000      1.11
  +++ openejb-jar.xml   15 Feb 2005 03:24:05 -0000      1.12
  @@ -333,6 +333,26 @@
                   <module>org/apache/geronimo/DefaultDatabase</module>
                   <name>DefaultDatasource</name>
               </resource-ref>
  +            <query>
  +                <query-method>
  +                    <method-name>findByLastName</method-name>
  +                    <method-params>
  +                        <method-param>java.lang.String</method-param>
  +                    </method-params>
  +                </query-method>
  +                <ejb-ql>
  +                <![CDATA[SELECT OBJECT(a) FROM BasicCmpBean AS a WHERE 
a.lastName = ?1]]>
  +                </ejb-ql>
  +            </query>
  +            <query>
  +                <query-method>
  +                    <method-name>findEmptyCollection</method-name>
  +                    <method-params/>
  +                </query-method>
  +                <ejb-ql>
  +                <![CDATA[SELECT OBJECT(a) FROM BasicCmpBean AS a WHERE 1 = 
0]]>
  +                </ejb-ql>
  +            </query>
           </entity>
           <entity>
               <ejb-name>AOBasicCmpBean</ejb-name>
  @@ -366,6 +386,26 @@
                   <module>org/apache/geronimo/DefaultDatabase</module>
                   <name>DefaultDatasource</name>
               </resource-ref>
  +            <query>
  +                <query-method>
  +                    <method-name>findByLastName</method-name>
  +                    <method-params>
  +                        <method-param>java.lang.String</method-param>
  +                    </method-params>
  +                </query-method>
  +                <ejb-ql>
  +                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmpBean AS a WHERE 
a.lastName = ?1]]>
  +                </ejb-ql>
  +            </query>
  +            <query>
  +                <query-method>
  +                    <method-name>findEmptyCollection</method-name>
  +                    <method-params/>
  +                </query-method>
  +                <ejb-ql>
  +                <![CDATA[SELECT OBJECT(a) FROM AOBasicCmpBean AS a WHERE 1 = 
0]]>
  +                </ejb-ql>
  +            </query>
           </entity>
           <entity>
               <ejb-name>EncCmpBean</ejb-name>
  
  
  

Reply via email to