You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2007/08/02 22:20:38 UTC

svn commit: r562235 - /cayenne/main/trunk/itests/pojo/src/main/resources/pojo-map.map.xml

Author: aadamchik
Date: Thu Aug  2 13:20:37 2007
New Revision: 562235

URL: http://svn.apache.org/viewvc?view=rev&rev=562235
Log:
CAY-835 setting meaningful pk to zero turn on autogenerated keys
(not the fix itself, bur rather fixing the POJO integration test)

Modified:
    cayenne/main/trunk/itests/pojo/src/main/resources/pojo-map.map.xml

Modified: cayenne/main/trunk/itests/pojo/src/main/resources/pojo-map.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/itests/pojo/src/main/resources/pojo-map.map.xml?view=diff&rev=562235&r1=562234&r2=562235
==============================================================================
--- cayenne/main/trunk/itests/pojo/src/main/resources/pojo-map.map.xml (original)
+++ cayenne/main/trunk/itests/pojo/src/main/resources/pojo-map.map.xml Thu Aug  2 13:20:37 2007
@@ -21,7 +21,7 @@
 	</obj-entity>
 	<obj-entity name="ExposedPkEntity1" className="org.apache.cayenne.itest.pojo.ExposedPkEntity1" dbEntityName="exposed_pk_entity1">
 		<obj-attribute name="name" type="java.lang.String" db-attribute-path="name"/>
-		<obj-attribute name="pk" type="java.lang.Integer" db-attribute-path="pk"/>
+		<obj-attribute name="pk" type="int" db-attribute-path="pk"/>
 	</obj-entity>
 	<obj-entity name="ManyToOneEntity1" className="org.apache.cayenne.itest.pojo.ManyToOneEntity1" dbEntityName="many_to_one_entity1">
 	</obj-entity>