gdamour 2005/03/03 04:46:31
Modified: modules/itests/src/ejb/META-INF openejb-jar.xml
Log:
GERONIMO-598
Replace flush-cache-before-query by no-cache-flush, which indicates if the
transactional cache is not to be flushed for the associated select or finder.
Revision Changes Path
1.14 +12 -1 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.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- openejb-jar.xml 2 Mar 2005 11:43:15 -0000 1.13
+++ openejb-jar.xml 3 Mar 2005 09:46:10 -0000 1.14
@@ -383,6 +383,18 @@
</cmp-field-mapping>
<query>
<query-method>
+ <method-name>findByPrimaryKey</method-name>
+ <method-params>
+ <method-param>java.lang.Integer</method-param>
+ </method-params>
+ </query-method>
+ <ejb-ql>
+ <![CDATA[SELECT OBJECT(a) FROM BasicCmpBeanExplicitPK AS a]]>
+ </ejb-ql>
+ <no-cache-flush/>
+ </query>
+ <query>
+ <query-method>
<method-name>findByLastName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
@@ -391,7 +403,6 @@
<ejb-ql>
<![CDATA[SELECT OBJECT(a) FROM BasicCmpBeanExplicitPK AS a
WHERE a.lastName = ?1]]>
</ejb-ql>
- <flush-cache-before-query/>
</query>
</entity>
<entity>