cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r651353 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources: multi-tier.map.xml testmap.map.xml
Date Thu, 24 Apr 2008 19:18:50 GMT
Author: aadamchik
Date: Thu Apr 24 12:18:46 2008
New Revision: 651353

URL: http://svn.apache.org/viewvc?rev=651353&view=rev
Log:
switching test maps to the new cache format

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/multi-tier.map.xml
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/testmap.map.xml

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/multi-tier.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/multi-tier.map.xml?rev=651353&r1=651352&r2=651353&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/multi-tier.map.xml
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/multi-tier.map.xml
Thu Apr 24 12:18:46 2008
@@ -163,10 +163,10 @@
 	<query name="AllMtTable1" factory="org.apache.cayenne.map.SelectQueryBuilder" root="obj-entity"
root-name="MtTable1">
 	</query>
 	<query name="MtQueryWithLocalCache" factory="org.apache.cayenne.map.SelectQueryBuilder"
root="obj-entity" root-name="MtTable1">
-		<property name="cayenne.GenericSelectQuery.cachePolicy" value="localcache"/>
+		<property name="cayenne.GenericSelectQuery.cacheStrategy" value="LOCAL_CACHE"/>
 	</query>
 	<query name="ParameterizedMtQueryWithLocalCache" factory="org.apache.cayenne.map.SelectQueryBuilder"
root="obj-entity" root-name="MtTable1">
-		<property name="cayenne.GenericSelectQuery.cachePolicy" value="localcache"/>
+		<property name="cayenne.GenericSelectQuery.cacheStrategy" value="LOCAL_CACHE"/>
 		<qualifier><![CDATA[globalAttribute1 = $g]]></qualifier>
 	</query>
 </data-map>

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/testmap.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/testmap.map.xml?rev=651353&r1=651352&r2=651353&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/testmap.map.xml
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/testmap.map.xml
Thu Apr 24 12:18:46 2008
@@ -572,17 +572,17 @@
 		<sql adapter-class="org.apache.cayenne.dba.db2.DB2Adapter"><![CDATA[INSERT INTO
PAINTING (PAINTING_ID, PAINTING_TITLE, ESTIMATED_PRICE) values (#bind($id), #bind($title),
#bind($price))]]></sql>
 	</query>
 	<query name="ParameterizedQueryWithLocalCache" factory="org.apache.cayenne.map.SelectQueryBuilder"
root="obj-entity" root-name="Artist">
-		<property name="cayenne.GenericSelectQuery.cachePolicy" value="localcache"/>
+		<property name="cayenne.GenericSelectQuery.cacheStrategy" value="LOCAL_CACHE"/>
 		<qualifier><![CDATA[artistName like $name]]></qualifier>
 	</query>
 	<query name="ParameterizedQueryWithSharedCache" factory="org.apache.cayenne.map.SelectQueryBuilder"
root="obj-entity" root-name="Artist">
-		<property name="cayenne.GenericSelectQuery.cachePolicy" value="sharedcache"/>
+		<property name="cayenne.GenericSelectQuery.cacheStrategy" value="SHARED_CACHE"/>
 		<qualifier><![CDATA[artistName like $name]]></qualifier>
 	</query>
 	<query name="ProcedureQuery" factory="org.apache.cayenne.map.ProcedureQueryBuilder" root="procedure"
root-name="cayenne_tst_select_proc" result-entity="Artist">
 	</query>
 	<query name="QueryWithLocalCache" factory="org.apache.cayenne.map.SelectQueryBuilder"
root="obj-entity" root-name="Artist">
-		<property name="cayenne.GenericSelectQuery.cachePolicy" value="localcache"/>
+		<property name="cayenne.GenericSelectQuery.cacheStrategy" value="LOCAL_CACHE"/>
 	</query>
 	<query name="QueryWithOrdering" factory="org.apache.cayenne.map.SelectQueryBuilder" root="obj-entity"
root-name="Artist">
 		<ordering descending="true" ignore-case="true"><![CDATA[artistName]]></ordering>
@@ -595,7 +595,7 @@
 		<qualifier><![CDATA[artistName = $param1]]></qualifier>
 	</query>
 	<query name="QueryWithSharedCache" factory="org.apache.cayenne.map.SelectQueryBuilder"
root="obj-entity" root-name="Artist">
-		<property name="cayenne.GenericSelectQuery.cachePolicy" value="sharedcache"/>
+		<property name="cayenne.GenericSelectQuery.cacheStrategy" value="SHARED_CACHE"/>
 	</query>
 	<entity-listener class="org.apache.art.EntityListenerDataMap">
 		<pre-persist method-name="prePersistDataMap1"/>



Mime
View raw message