cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1492342 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/testmap.map.xml
Date Wed, 12 Jun 2013 18:38:15 GMT
Author: aadamchik
Date: Wed Jun 12 18:38:15 2013
New Revision: 1492342

URL: http://svn.apache.org/r1492342
Log:
CAY-1833  SQL keyword 'VALUE' used as table's attribute name in test case

Modified:
    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/testmap.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/resources/testmap.map.xml?rev=1492342&r1=1492341&r2=1492342&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
Wed Jun 12 18:38:15 2013
@@ -129,7 +129,7 @@
 	<db-entity name="CLOB_TEST_RELATION">
 		<db-attribute name="ID" type="INTEGER" isPrimaryKey="true" isMandatory="true"/>
 		<db-attribute name="ID_CLOB" type="INTEGER" isMandatory="true"/>
-		<db-attribute name="VALUE" type="INTEGER"/>
+		<db-attribute name="CVALUE" type="INTEGER"/>
 	</db-entity>
 	<db-entity name="COMPOUND_FK_TEST">
 		<db-attribute name="F_KEY1" type="VARCHAR" length="20"/>
@@ -407,7 +407,7 @@
 	</obj-entity>
 	<obj-entity name="ClobTestRelation" className="org.apache.cayenne.testdo.testmap.ClobTestRelation"
dbEntityName="CLOB_TEST_RELATION">
 		<obj-attribute name="id" type="java.lang.Integer" db-attribute-path="ID"/>
-		<obj-attribute name="value" type="java.lang.Integer" db-attribute-path="VALUE"/>
+		<obj-attribute name="value" type="java.lang.Integer" db-attribute-path="CVALUE"/>
 	</obj-entity>
 	<obj-entity name="CompoundFkTestEntity" className="org.apache.cayenne.testdo.testmap.CompoundFkTestEntity"
dbEntityName="COMPOUND_FK_TEST">
 		<obj-attribute name="name" type="java.lang.String" db-attribute-path="NAME"/>



Mime
View raw message