remove isGenerated for all entities in things.map.xml it cause error at MS SQL and not related to what we want to check in tests
Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/4147cb4c Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/4147cb4c Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/4147cb4c Branch: refs/heads/master Commit: 4147cb4c5a1a1a85444afee411ff97ff9dd73453 Parents: 489acb3 Author: kolonitsky <alex.kolonit...@gmail.com> Authored: Thu Feb 12 16:31:26 2015 +0300 Committer: kolonitsky <alex.kolonit...@gmail.com> Committed: Thu Feb 12 16:31:26 2015 +0300 ---------------------------------------------------------------------- cayenne-server/src/test/resources/things.map.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/4147cb4c/cayenne-server/src/test/resources/things.map.xml ---------------------------------------------------------------------- diff --git a/cayenne-server/src/test/resources/things.map.xml b/cayenne-server/src/test/resources/things.map.xml index 8cbe47c..384f98f 100644 --- a/cayenne-server/src/test/resources/things.map.xml +++ b/cayenne-server/src/test/resources/things.map.xml @@ -9,12 +9,12 @@ <property name="defaultClientPackage" value="test.client"/> <property name="defaultClientSuperclass" value="org.apache.cayenne.PersistentObject"/> <db-entity name="BAG"> - <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isGenerated="true" isMandatory="true"/> + <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/> <db-attribute name="NAME" type="VARCHAR" length="200"/> </db-entity> <db-entity name="BALL"> <db-attribute name="BOX_ID" type="BIGINT" isMandatory="true"/> - <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isGenerated="true" isMandatory="true"/> + <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/> <db-attribute name="THING_VOLUME" type="INTEGER" isMandatory="true"/> <db-attribute name="THING_WEIGHT" type="INTEGER" isMandatory="true"/> </db-entity> @@ -26,7 +26,7 @@ <db-entity name="BOX_INFO"> <db-attribute name="BOX_ID" type="BIGINT" isMandatory="true"/> <db-attribute name="COLOR" type="VARCHAR" isMandatory="true" length="200"/> - <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isGenerated="true" isMandatory="true"/> + <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/> </db-entity> <db-entity name="BOX_THING"> <db-attribute name="BOX_ID" type="BIGINT" isMandatory="true"/> @@ -34,7 +34,7 @@ <db-attribute name="THING_WEIGHT" type="INTEGER" isMandatory="true"/> </db-entity> <db-entity name="THING"> - <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isGenerated="true" isMandatory="true"/> + <db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/> <db-attribute name="VOLUME" type="INTEGER" isMandatory="true"/> <db-attribute name="WEIGHT" type="INTEGER" isMandatory="true"/> </db-entity>