diff options
author | Martin Taal | 2012-11-29 13:22:29 +0000 |
---|---|---|
committer | Martin Taal | 2012-11-29 13:22:29 +0000 |
commit | 7c2d5b85d1829040e36b9df97e4c30d2d63e709c (patch) | |
tree | 5c53b623d1a186d1a1f485d26d2a953d9eb45037 /tests/org.eclipse.emf.teneo.hibernate.test | |
parent | 47c6b2dc0a74e4e00837f65838c0210e19d2a22b (diff) | |
download | org.eclipse.emf.teneo-7c2d5b85d1829040e36b9df97e4c30d2d63e709c.tar.gz org.eclipse.emf.teneo-7c2d5b85d1829040e36b9df97e4c30d2d63e709c.tar.xz org.eclipse.emf.teneo-7c2d5b85d1829040e36b9df97e4c30d2d63e709c.zip |
Prevent version num holes in auditing, solve equals test in DefaultStringType
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test')
111 files changed, 1448 insertions, 664 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_e_o_hibernate.hbm.xml index 9e244f8be..647d44f5f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_e_o_hibernate.hbm.xml @@ -176,6 +176,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -239,6 +242,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -302,6 +308,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -358,6 +367,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -413,6 +425,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_h_o_hibernate.hbm.xml index 2d5832363..ae968e205 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ258266Action_hsqldb_h_o_hibernate.hbm.xml @@ -197,6 +197,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -263,6 +266,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -329,6 +335,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -388,6 +397,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -446,6 +458,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_e_o_hibernate.hbm.xml index b92373f4f..9c6402e1e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_e_o_hibernate.hbm.xml @@ -127,6 +127,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="string" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`STRING`"/> </property> @@ -183,6 +186,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="notes" table="`PERSONAUDITING_NOTESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`PERSONAUDITING_NOTES_TENEO_AUDIT_ID`" unique="false"/> @@ -243,6 +249,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_h_o_hibernate.hbm.xml index 20144444a..35671f21d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ285372Action_hsqldb_h_o_hibernate.hbm.xml @@ -142,6 +142,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="string" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`STRING`"/> </property> @@ -201,6 +204,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="notes" table="`PERSONAUDITING_NOTESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`PERSONAUDITING_NOTES_TENEO_AUDIT_ID`" unique="false"/> @@ -264,6 +270,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275Action_hsqldb_e_o_hibernate.hbm.xml index 416be3665..f1836f9f9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275Action_hsqldb_e_o_hibernate.hbm.xml @@ -130,6 +130,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_ConvertUnsetToNulllAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_ConvertUnsetToNulllAction_hsqldb_e_o_hibernate.hbm.xml index 416be3665..f1836f9f9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_ConvertUnsetToNulllAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_ConvertUnsetToNulllAction_hsqldb_e_o_hibernate.hbm.xml @@ -130,6 +130,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_HandleUnsetAsNullAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_HandleUnsetAsNullAction_hsqldb_e_o_hibernate.hbm.xml index 416be3665..f1836f9f9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_HandleUnsetAsNullAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/BZ329275_HandleUnsetAsNullAction_hsqldb_e_o_hibernate.hbm.xml @@ -130,6 +130,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_e_o_hibernate.hbm.xml index 9e244f8be..647d44f5f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_e_o_hibernate.hbm.xml @@ -176,6 +176,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -239,6 +242,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -302,6 +308,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -358,6 +367,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -413,6 +425,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_h_o_hibernate.hbm.xml index 2d5832363..ae968e205 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz242995Action_hsqldb_h_o_hibernate.hbm.xml @@ -197,6 +197,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -263,6 +266,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -329,6 +335,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -388,6 +397,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -446,6 +458,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_e_o_hibernate.hbm.xml index 62b025fa3..c081426b2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_e_o_hibernate.hbm.xml @@ -99,6 +99,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -152,6 +155,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_h_o_hibernate.hbm.xml index f3ba716dd..db883a6c5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz243024Action_hsqldb_h_o_hibernate.hbm.xml @@ -111,6 +111,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -167,6 +170,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_e_o_hibernate.hbm.xml index 254a1e39f..56f0bcfbd 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_e_o_hibernate.hbm.xml @@ -176,6 +176,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -239,6 +242,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -302,6 +308,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -358,6 +367,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -413,6 +425,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_h_o_hibernate.hbm.xml index 1c12358a7..771139b0a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245167Action_hsqldb_h_o_hibernate.hbm.xml @@ -197,6 +197,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -263,6 +266,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -329,6 +335,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -388,6 +397,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -446,6 +458,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_e_o_hibernate.hbm.xml index 819852013..5f3c56d67 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_e_o_hibernate.hbm.xml @@ -117,6 +117,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="mayor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`MAYOR`"/> </property> @@ -175,6 +178,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CITY`"/> </property> @@ -224,6 +230,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CITY`"/> </property> @@ -273,5 +282,8 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_h_o_hibernate.hbm.xml index 4cf3d401f..940ce6f60 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz245634Action_hsqldb_h_o_hibernate.hbm.xml @@ -135,6 +135,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="mayor" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`MAYOR`"/> </property> @@ -196,6 +199,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CITY`"/> </property> @@ -248,6 +254,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CITY`"/> </property> @@ -300,5 +309,8 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_e_o_hibernate.hbm.xml index 0b6dccf4c..52c06c7e7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_e_o_hibernate.hbm.xml @@ -92,6 +92,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -147,6 +150,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_h_o_hibernate.hbm.xml index d7df5c3f8..6a9669d53 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280355Action_hsqldb_h_o_hibernate.hbm.xml @@ -104,6 +104,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -162,6 +165,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_e_o_hibernate.hbm.xml index bbec7dd0e..0a2bc96af 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_e_o_hibernate.hbm.xml @@ -1095,6 +1095,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`CANONICALIZATIONMETHODTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`CANONICALIZATIONMETHODTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1189,6 +1192,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`DIGESTMETHODTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`DIGESTMETHODTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1283,6 +1289,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <many-to-one name="mixed" entity-name="_xmldsigAuditing.DocumentRootAuditing_mixed" cascade="all" not-null="false"/> <property name="canonicalizationMethod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CANONICALIZATIONMETHOD`"/> @@ -1487,6 +1496,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="p" table="`DSAKEYVALUETYPEAUDITING_PAUDITING`" cascade="all"> <key update="true"> <column name="`DSAKEYVALUETYPEAUDITING_P_TENEO_AUDIT_ID`" unique="false"/> @@ -1582,6 +1594,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`KEYINFOTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`KEYINFOTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1730,6 +1745,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`KEYVALUETYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`KEYVALUETYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1824,6 +1842,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="reference" table="`MANIFESTTYPEAUDITING_REFERENCEAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`MANIFESTTYPEAUDITING_REFERENCE_TENEO_AUDIT_ID`" unique="false"/> @@ -1880,6 +1901,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`OBJECTTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`OBJECTTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1998,6 +2022,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="pGPKeyID" table="`PGPDATATYPEAUDITING_PGPKEYIDAUDITING`" cascade="all"> <key update="true"> <column name="`PGPDATATYPEAUDITING_PGPKEYID_TENEO_AUDIT_ID`" unique="false"/> @@ -2109,6 +2136,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="transforms" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TRANSFORMS`"/> </property> @@ -2177,6 +2207,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="transforms" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TRANSFORMS`"/> </property> @@ -2232,6 +2265,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="modulus" table="`RSAKEYVALUETYPEAUDITING_MODULUSAUDITING`" cascade="all"> <key update="true"> <column name="`RSAKEYVALUETYPEAUDITING_MODULUS_TENEO_AUDIT_ID`" unique="false"/> @@ -2292,6 +2328,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`SIGNATUREMETHODTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`SIGNATUREMETHODTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -2389,6 +2428,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="signatureProperty" table="`SIGNATUREPROPERTIESTYPEAUDITING_SIGNATUREPROPERTYAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`SIGNATUREPROPERTIESTYPEAUDITING_SIGNATUREPROPERTY_TENEO_AUDIT_ID`" unique="false"/> @@ -2445,6 +2487,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`SIGNATUREPROPERTYTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`SIGNATUREPROPERTYTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -2557,6 +2602,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="signedInfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`SIGNEDINFO`"/> </property> @@ -2622,6 +2670,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="value" table="`SIGNATUREVALUETYPEAUDITING_VALUEAUDITING`" cascade="all"> <key update="true"> <column name="`SIGNATUREVALUETYPEAUDITING_VALUE_TENEO_AUDIT_ID`" unique="false"/> @@ -2678,6 +2729,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="canonicalizationMethod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CANONICALIZATIONMETHOD`"/> </property> @@ -2740,6 +2794,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="group" table="`SPKIDATATYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`SPKIDATATYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> @@ -2822,6 +2879,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="transform" table="`TRANSFORMSTYPEAUDITING_TRANSFORMAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`TRANSFORMSTYPEAUDITING_TRANSFORM_TENEO_AUDIT_ID`" unique="false"/> @@ -2875,6 +2935,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`TRANSFORMTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`TRANSFORMTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -2987,6 +3050,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="group" table="`X509DATATYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`X509DATATYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> @@ -3081,6 +3147,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="x509IssuerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`X509ISSUERNAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_h_o_hibernate.hbm.xml index 218c894ce..7b0e2e28f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz280480Action_hsqldb_h_o_hibernate.hbm.xml @@ -1167,6 +1167,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`CANONICALIZATIONMETHODTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`CANONICALIZATIONMETHODTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1264,6 +1267,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`DIGESTMETHODTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`DIGESTMETHODTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1358,6 +1364,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <many-to-one name="mixed" entity-name="_xmldsigAuditing.DocumentRootAuditing_mixed" cascade="all" not-null="false"/> <property name="canonicalizationMethod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CANONICALIZATIONMETHOD`"/> @@ -1565,6 +1574,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="p" table="`DSAKEYVALUETYPEAUDITING_PAUDITING`" cascade="all"> <key update="true"> <column name="`DSAKEYVALUETYPEAUDITING_P_TENEO_AUDIT_ID`" unique="false"/> @@ -1663,6 +1675,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`KEYINFOTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`KEYINFOTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1814,6 +1829,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`KEYVALUETYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`KEYVALUETYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -1911,6 +1929,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="reference" table="`MANIFESTTYPEAUDITING_REFERENCEAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`MANIFESTTYPEAUDITING_REFERENCE_TENEO_AUDIT_ID`" unique="false"/> @@ -1970,6 +1991,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`OBJECTTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`OBJECTTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -2091,6 +2115,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="pGPKeyID" table="`PGPDATATYPEAUDITING_PGPKEYIDAUDITING`" cascade="all"> <key update="true"> <column name="`PGPDATATYPEAUDITING_PGPKEYID_TENEO_AUDIT_ID`" unique="false"/> @@ -2205,6 +2232,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="transforms" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TRANSFORMS`"/> </property> @@ -2276,6 +2306,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="transforms" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TRANSFORMS`"/> </property> @@ -2334,6 +2367,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="modulus" table="`RSAKEYVALUETYPEAUDITING_MODULUSAUDITING`" cascade="all"> <key update="true"> <column name="`RSAKEYVALUETYPEAUDITING_MODULUS_TENEO_AUDIT_ID`" unique="false"/> @@ -2397,6 +2433,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`SIGNATUREMETHODTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`SIGNATUREMETHODTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -2497,6 +2536,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="signatureProperty" table="`SIGNATUREPROPERTIESTYPEAUDITING_SIGNATUREPROPERTYAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`SIGNATUREPROPERTIESTYPEAUDITING_SIGNATUREPROPERTY_TENEO_AUDIT_ID`" unique="false"/> @@ -2556,6 +2598,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`SIGNATUREPROPERTYTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`SIGNATUREPROPERTYTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -2671,6 +2716,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="signedInfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`SIGNEDINFO`"/> </property> @@ -2739,6 +2787,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <array name="value" table="`SIGNATUREVALUETYPEAUDITING_VALUEAUDITING`" cascade="all"> <key update="true"> <column name="`SIGNATUREVALUETYPEAUDITING_VALUE_TENEO_AUDIT_ID`" unique="false"/> @@ -2798,6 +2849,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="canonicalizationMethod" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CANONICALIZATIONMETHOD`"/> </property> @@ -2863,6 +2917,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="group" table="`SPKIDATATYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`SPKIDATATYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> @@ -2948,6 +3005,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="transform" table="`TRANSFORMSTYPEAUDITING_TRANSFORMAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`TRANSFORMSTYPEAUDITING_TRANSFORM_TENEO_AUDIT_ID`" unique="false"/> @@ -3004,6 +3064,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`TRANSFORMTYPEAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`TRANSFORMTYPEAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -3119,6 +3182,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="group" table="`X509DATATYPEAUDITING_GROUPAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`X509DATATYPEAUDITING_GROUP_TENEO_AUDIT_ID`" unique="false"/> @@ -3216,6 +3282,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="x509IssuerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`X509ISSUERNAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_e_o_hibernate.hbm.xml index 755005c7a..1978d5f74 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_e_o_hibernate.hbm.xml @@ -148,6 +148,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -156,7 +159,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> @@ -211,6 +214,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -274,6 +280,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_h_o_hibernate.hbm.xml index feed07de5..2e446413e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz281730Action_hsqldb_h_o_hibernate.hbm.xml @@ -163,6 +163,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -171,7 +174,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> @@ -229,6 +232,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -295,6 +301,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml index 239fa7d75..e529d8129 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_e_o_hibernate.hbm.xml @@ -140,6 +140,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="citation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CITATION`"/> </property> @@ -210,6 +213,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <many-to-one name="mixed" entity-name="bz288963Auditing.DocumentRootAuditing_mixed" cascade="all" not-null="false"/> <property name="book" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`BOOK`"/> @@ -294,6 +300,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> <column not-null="false" unique="false" name="`NUMBER`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml index 507874c3f..9db64fa39 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz288963Action_hsqldb_h_o_hibernate.hbm.xml @@ -146,6 +146,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="citation" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CITATION`"/> </property> @@ -216,6 +219,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <many-to-one name="mixed" entity-name="bz288963Auditing.DocumentRootAuditing_mixed" cascade="all" not-null="false"/> <property name="book" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`BOOK`"/> @@ -303,6 +309,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> <column not-null="false" unique="false" name="`NUMBER`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_e_o_hibernate.hbm.xml index 9e244f8be..647d44f5f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_e_o_hibernate.hbm.xml @@ -176,6 +176,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -239,6 +242,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -302,6 +308,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -358,6 +367,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -413,6 +425,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_h_o_hibernate.hbm.xml index 2d5832363..ae968e205 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz292074Action_hsqldb_h_o_hibernate.hbm.xml @@ -197,6 +197,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -263,6 +266,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -329,6 +335,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -388,6 +397,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -446,6 +458,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="Name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_hsqldb_e_o_hibernate.hbm.xml index c48f04286..5d18b107b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz293848Action_hsqldb_e_o_hibernate.hbm.xml @@ -145,6 +145,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="employees" table="`COMTYPEAUDITING_EMPLOYEESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`COMTYPEAUDITING_EMPLOYEES_TENEO_AUDIT_ID`" unique="false"/> @@ -204,6 +207,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="booktype" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`BOOKTYPE`"/> </property> @@ -256,6 +262,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`ZIP`"/> </property> @@ -308,6 +317,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="lastName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`LASTNAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_hsqldb_e_o_hibernate.hbm.xml index b8d24cbef..193a8360a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz294201Action_hsqldb_e_o_hibernate.hbm.xml @@ -136,6 +136,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="mixed" table="`DOCUMENTROOTEXPAUDITING_DOCUMENTROOTAUDITING_MIXEDAUDITING`" lazy="true" cascade="all,delete-orphan"> <key update="true"> <column name="`DOCUMENTROOTAUDITING_MIXED_TENEO_AUDIT_ID`" unique="false"/> @@ -205,6 +208,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="lastName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`LASTNAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_hsqldb_e_o_hibernate.hbm.xml index b1477119b..552e5dcb4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321768Action_hsqldb_e_o_hibernate.hbm.xml @@ -88,6 +88,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <component name="name" class="org.eclipse.emf.ecore.impl.DynamicEObjectImpl"> <meta attribute="eclassName" inherit="false">Name</meta> <meta attribute="epackage">http:///www.elver.org/org.eclipse.emf.teneo.hibernate.test.issues.Bz321768Action</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_hsqldb_e_o_hibernate.hbm.xml index d7321d0dd..d9e76fc4f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321770Action_hsqldb_e_o_hibernate.hbm.xml @@ -98,6 +98,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -150,6 +153,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="child" table="`PARENTAUDITING_CHILDAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`PARENTAUDITING_CHILD_TENEO_AUDIT_ID`" unique="false"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_hsqldb_e_o_hibernate.hbm.xml index 738b66255..ec4ceb8cf 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz321773Action_hsqldb_e_o_hibernate.hbm.xml @@ -100,6 +100,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -152,6 +155,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz331953Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz331953Action_hsqldb_e_o_hibernate.hbm.xml index 646f07295..6f62deec7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz331953Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz331953Action_hsqldb_e_o_hibernate.hbm.xml @@ -147,6 +147,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -155,7 +158,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -213,6 +216,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -276,6 +282,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz336501Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz336501Action_hsqldb_e_o_hibernate.hbm.xml index 856e9053a..7f61c4356 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz336501Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz336501Action_hsqldb_e_o_hibernate.hbm.xml @@ -87,6 +87,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz337580Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz337580Action_hsqldb_e_o_hibernate.hbm.xml index 82990aba9..1c213b9ad 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz337580Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz337580Action_hsqldb_e_o_hibernate.hbm.xml @@ -81,6 +81,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TN_BJC_VRS`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TN_RSRCEID`"/> + </property> <property name="nameWhichShouldBeTrunctated" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NMWHCHSHLD`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz363777Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz363777Action_hsqldb_e_o_hibernate.hbm.xml index 73dd5303a..50545f2dd 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz363777Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz363777Action_hsqldb_e_o_hibernate.hbm.xml @@ -113,6 +113,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="value" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`VALUE`"/> </property> @@ -165,6 +168,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer"> <column not-null="false" unique="false" name="`KEY`"/> </property> @@ -214,6 +220,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -263,6 +272,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <bag name="mapChannels" lazy="true" cascade="all,delete-orphan"> <key update="true" foreign-key="NEAUDITING_MAPCHANNELS"> <column name="`NEAUDITING_MAPCHANNELS_TENEO_AUDIT_ID`" unique="false"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml index 930f91ea3..c9d15d3d0 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz372869Action_hsqldb_e_o_hibernate.hbm.xml @@ -262,6 +262,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -270,7 +273,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -328,6 +331,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -391,6 +397,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -447,6 +456,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`DESCRIPTION`"/> </property> @@ -514,6 +526,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CODE`"/> </property> @@ -578,6 +593,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="rentToBusinessPartner" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`RENTTOBUSINESSPARTNER`"/> </property> @@ -646,6 +664,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="code" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`CODE`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz375705Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz375705Action_hsqldb_e_o_hibernate.hbm.xml index b23c0a6e7..54f7a55a7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz375705Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz375705Action_hsqldb_e_o_hibernate.hbm.xml @@ -81,6 +81,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="calendar" lazy="false" insert="true" update="true" not-null="false" unique="false" type="calendar"> <column not-null="false" unique="false" name="`CALENDAR`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz386607Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz386607Action_hsqldb_e_o_hibernate.hbm.xml index 18437b9fe..ac493bfd2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz386607Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz386607Action_hsqldb_e_o_hibernate.hbm.xml @@ -92,6 +92,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="foo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`FOO`"/> </property> @@ -141,5 +144,8 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390774Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390774Action_hsqldb_e_o_hibernate.hbm.xml index ac7506b9f..3d3294c1e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390774Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390774Action_hsqldb_e_o_hibernate.hbm.xml @@ -98,6 +98,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="secondary" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`SECONDARY`"/> </property> @@ -150,5 +153,8 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390775Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390775Action_hsqldb_e_o_hibernate.hbm.xml index 71845fdf5..0f2317024 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390775Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz390775Action_hsqldb_e_o_hibernate.hbm.xml @@ -91,6 +91,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="other" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`OTHER`"/> </property> @@ -140,6 +143,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="main" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`MAIN`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz391134Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz391134Action_hsqldb_e_o_hibernate.hbm.xml index 074ef45a5..aed5bd867 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz391134Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/Bz391134Action_hsqldb_e_o_hibernate.hbm.xml @@ -101,6 +101,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="foo" table="`BARAUDITING_FOOAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`BARAUDITING_FOO_TENEO_AUDIT_ID`" unique="false"/> @@ -154,6 +157,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="bar" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`BAR`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_hsqldb_e_o_hibernate.hbm.xml index 7ff3c7c66..eacb5f149 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NoCollectionOwnerAction_hsqldb_e_o_hibernate.hbm.xml @@ -237,6 +237,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -298,6 +301,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`SURNAME`"/> </property> @@ -366,6 +372,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -432,6 +441,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -488,6 +500,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NUMBER`"/> </property> @@ -554,6 +569,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NUMBER`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NonMandatoryJoinColumnAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NonMandatoryJoinColumnAction_hsqldb_e_o_hibernate.hbm.xml index aae3c67f8..a41403928 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NonMandatoryJoinColumnAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/NonMandatoryJoinColumnAction_hsqldb_e_o_hibernate.hbm.xml @@ -95,6 +95,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="bar" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`BAR`"/> </property> @@ -144,6 +147,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_e_o_hibernate.hbm.xml index dcf155e19..6f031a309 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_e_o_hibernate.hbm.xml @@ -98,6 +98,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -147,6 +150,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_h_o_hibernate.hbm.xml index 3fbb9e2b1..b3fcd3430 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/TransientOtmAction_hsqldb_h_o_hibernate.hbm.xml @@ -110,6 +110,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -162,6 +165,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_e_o_hibernate.hbm.xml index dfb1fcd6f..52c7b8f23 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_e_o_hibernate.hbm.xml @@ -94,6 +94,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -146,6 +149,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_h_o_hibernate.hbm.xml index 24935c078..dca415647 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.issues/UpdateAction_hsqldb_h_o_hibernate.hbm.xml @@ -106,6 +106,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -161,6 +164,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml index efe209fd0..6ab2410c6 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_e_o_hibernate.hbm.xml @@ -132,8 +132,8 @@ <column not-null="false" unique="false" name="`POSTALCODE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" table="`PERSONAUDITING`"> - <meta attribute="eclassName" inherit="false">PersonAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" table="`EMPLOYEEAUDITING`"> + <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverrideAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> @@ -154,7 +154,7 @@ <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PERSONAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EMPLOYEEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> </many-to-one> <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> @@ -189,25 +189,69 @@ <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`ADDRESS`"/> </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" extends="PersonAuditing" table="`EMPLOYEEAUDITING`"> - <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverrideAuditing</meta> - <key> - <column name="`PERSONAUDITING_TENEO_AUDIT_ID`"/> - </key> <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`DEPARTMENT`"/> </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" extends="PersonAuditing" table="`STUDENTAUDITING`"> + </class> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" table="`STUDENTAUDITING`"> <meta attribute="eclassName" inherit="false">StudentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverrideAuditing</meta> - <key> - <column name="`PERSONAUDITING_TENEO_AUDIT_ID`"/> - </key> + <id name="teneo_audit_id" type="long" unsaved-value="0"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> + <generator class="native"/> + </id> + <version name="teneo_version" type="long"> + <column not-null="true" unique="false" name="`TENEO_VERSION`"/> + </version> + <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> + </property> + <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> + </property> + <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> + </property> + <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> + </property> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STUDENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> + </many-to-one> + <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> + <param name="eclassifier">TeneoAuditKind</param> + <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> + </type> + </property> + <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> + </property> + <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> + </property> + <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> + </property> + <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> + </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> + <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`ID`"/> + </property> + <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`NAME`"/> + </property> + <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`ADDRESS`"/> + </property> <property name="faculty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`FACULTY`"/> </property> - </joined-subclass> + </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml index c649b7d9d..38f5b16b3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/AssociationOverrideAction_hsqldb_h_o_hibernate.hbm.xml @@ -147,15 +147,15 @@ <column not-null="false" unique="false" name="`POSTALCODE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" discriminator-value="PersonAuditing" table="`PERSONAUDITING`"> - <meta attribute="eclassName" inherit="false">PersonAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" discriminator-value="EmployeeAuditing" table="`EMPLOYEEAUDITING`"> + <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverrideAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> <generator class="native"/> </id> <discriminator type="string"> - <column name="`DTYPE`" index="PERSONAUDITINGDTYPE" length="255" not-null="true"/> + <column name="`DTYPE`" index="EMPLOYEEAUDITINGDTYPE" length="255" not-null="true"/> </discriminator> <version name="teneo_version" type="long"> <column not-null="true" unique="false" name="`TENEO_VERSION`"/> @@ -172,7 +172,7 @@ <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PERSONAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="EMPLOYEEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> </many-to-one> <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> @@ -207,19 +207,72 @@ <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`ADDRESS`"/> </property> - </class> - <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EmployeeAuditing" abstract="false" lazy="false" extends="PersonAuditing" discriminator-value="EmployeeAuditing"> - <meta attribute="eclassName" inherit="false">EmployeeAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverrideAuditing</meta> <property name="department" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`DEPARTMENT`"/> </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" extends="PersonAuditing" discriminator-value="StudentAuditing"> + </class> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="StudentAuditing" abstract="false" lazy="false" discriminator-value="StudentAuditing" table="`STUDENTAUDITING`"> <meta attribute="eclassName" inherit="false">StudentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverrideAuditing</meta> + <id name="teneo_audit_id" type="long" unsaved-value="0"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> + <generator class="native"/> + </id> + <discriminator type="string"> + <column name="`DTYPE`" index="STUDENTAUDITINGDTYPE" length="255" not-null="true"/> + </discriminator> + <version name="teneo_version" type="long"> + <column not-null="true" unique="false" name="`TENEO_VERSION`"/> + </version> + <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> + </property> + <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> + </property> + <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> + </property> + <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> + </property> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="STUDENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> + </many-to-one> + <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> + <param name="eclassifier">TeneoAuditKind</param> + <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> + </type> + </property> + <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> + </property> + <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> + </property> + <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> + </property> + <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> + </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> + <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`ID`"/> + </property> + <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`NAME`"/> + </property> + <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`ADDRESS`"/> + </property> <property name="faculty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`FACULTY`"/> </property> - </subclass> + </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_e_o_hibernate.hbm.xml index 7fe6cb65d..6f7fa3355 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_e_o_hibernate.hbm.xml @@ -83,8 +83,8 @@ <column not-null="false" unique="false" name="`COMMITTIME`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DocumentAuditing" abstract="false" lazy="false" table="`DOCUMENTAUDITING`"> - <meta attribute="eclassName" inherit="false">DocumentAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddIDDocumentAuditing" abstract="false" lazy="false" table="`ADDIDDOCUMENTAUDITING`"> + <meta attribute="eclassName" inherit="false">AddIDDocumentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> <cache usage="read-write"/> <id name="teneo_audit_id" type="long" unsaved-value="0"> @@ -106,7 +106,7 @@ <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DOCUMENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ADDIDDOCUMENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> </many-to-one> <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> @@ -138,37 +138,72 @@ <property name="myTestReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`MYTESTREFERENCE`"/> </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddIDDocumentAuditing" abstract="false" lazy="false" extends="DocumentAuditing" table="`ADDIDDOCUMENTAUDITING`"> - <meta attribute="eclassName" inherit="false">AddIDDocumentAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> - <key> - <column name="`DOCUMENTAUDITING_TENEO_AUDIT_ID`"/> - </key> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentDocumentAuditing" abstract="false" lazy="false" extends="DocumentAuditing" table="`PARENTDOCUMENTAUDITING`"> - <meta attribute="eclassName" inherit="false">ParentDocumentAuditing</meta> + </class> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecificDocumentAuditing" abstract="false" lazy="false" table="`SPECIFICDOCUMENTAUDITING`"> + <meta attribute="eclassName" inherit="false">SpecificDocumentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> - <key> - <column name="`DOCUMENTAUDITING_TENEO_AUDIT_ID`"/> - </key> + <cache usage="read-write"/> + <id name="teneo_audit_id" type="long" unsaved-value="0"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> + <generator class="native"/> + </id> + <version name="teneo_version" type="long"> + <column not-null="true" unique="false" name="`TENEO_VERSION`"/> + </version> + <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> + </property> + <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> + </property> + <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> + </property> + <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> + </property> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SPECIFICDOCUMENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> + </many-to-one> + <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> + <param name="eclassifier">TeneoAuditKind</param> + <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> + </type> + </property> + <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> + </property> + <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> + </property> + <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> + </property> + <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> + </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> + <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`MYGENERICINFO`"/> + </property> + <property name="myTestReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`MYTESTREFERENCE`"/> + </property> <property name="myName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> - <column not-null="true" unique="false" name="`XXX`"/> + <column not-null="false" unique="false" name="`PARENTDOCUMENT_NAME`" length="50"/> </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecificDocumentAuditing" abstract="false" lazy="false" extends="ParentDocumentAuditing" table="`SPECIFICDOCUMENTAUDITING`"> - <meta attribute="eclassName" inherit="false">SpecificDocumentAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> - <key> - <column name="`PARENTDOCUMENTAUDITING_TENEO_AUDIT_ID`"/> - </key> <property name="mySpecificInfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`MYSPECIFICINFO`"/> </property> - </joined-subclass> + </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TestReferenceAuditing" abstract="false" lazy="false" table="`TESTREFERENCEAUDITING`"> <meta attribute="eclassName" inherit="false">TestReferenceAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_h_o_hibernate.hbm.xml index 3605edb73..9c17e7c8a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/MappedSuperClassAction_hsqldb_h_o_hibernate.hbm.xml @@ -95,8 +95,8 @@ <column not-null="false" unique="false" name="`COMMITTIME`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="DocumentAuditing" abstract="false" lazy="false" discriminator-value="DocumentAuditing" table="`DOCUMENTAUDITING`"> - <meta attribute="eclassName" inherit="false">DocumentAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddIDDocumentAuditing" abstract="false" lazy="false" discriminator-value="AddIDDocumentAuditing" table="`ADDIDDOCUMENTAUDITING`"> + <meta attribute="eclassName" inherit="false">AddIDDocumentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> <cache usage="read-write"/> <id name="teneo_audit_id" type="long" unsaved-value="0"> @@ -104,7 +104,7 @@ <generator class="native"/> </id> <discriminator type="string"> - <column name="`DTYPE`" index="DOCUMENTAUDITINGDTYPE" length="255" not-null="true"/> + <column name="`DTYPE`" index="ADDIDDOCUMENTAUDITINGDTYPE" length="255" not-null="true"/> </discriminator> <version name="teneo_version" type="long"> <column not-null="true" unique="false" name="`TENEO_VERSION`"/> @@ -121,7 +121,7 @@ <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="DOCUMENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ADDIDDOCUMENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> </many-to-one> <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> @@ -153,28 +153,75 @@ <property name="myTestReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`MYTESTREFERENCE`"/> </property> - </class> - <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddIDDocumentAuditing" abstract="false" lazy="false" extends="DocumentAuditing" discriminator-value="AddIDDocumentAuditing"> - <meta attribute="eclassName" inherit="false">AddIDDocumentAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentDocumentAuditing" abstract="false" lazy="false" extends="DocumentAuditing" discriminator-value="ParentDocumentAuditing"> - <meta attribute="eclassName" inherit="false">ParentDocumentAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> - <property name="myName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`XXX`"/> - </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecificDocumentAuditing" abstract="false" lazy="false" extends="ParentDocumentAuditing" discriminator-value="SpecificDocumentAuditing"> + </class> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SpecificDocumentAuditing" abstract="false" lazy="false" discriminator-value="SpecificDocumentAuditing" table="`SPECIFICDOCUMENTAUDITING`"> <meta attribute="eclassName" inherit="false">SpecificDocumentAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> + <cache usage="read-write"/> + <id name="teneo_audit_id" type="long" unsaved-value="0"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> + <generator class="native"/> + </id> + <discriminator type="string"> + <column name="`DTYPE`" index="SPECIFICDOCUMENTAUDITINGDTYPE" length="255" not-null="true"/> + </discriminator> + <version name="teneo_version" type="long"> + <column not-null="true" unique="false" name="`TENEO_VERSION`"/> + </version> + <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> + </property> + <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> + </property> + <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> + </property> + <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> + </property> + <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="SPECIFICDOCUMENTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> + <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> + </many-to-one> + <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> + <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> + <param name="eclassifier">TeneoAuditKind</param> + <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> + </type> + </property> + <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> + </property> + <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> + <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> + </property> + <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> + </property> + <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> + <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> + </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> + <property name="myGenericInfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`MYGENERICINFO`"/> + </property> + <property name="myTestReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`MYTESTREFERENCE`"/> + </property> + <property name="myName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`PARENTDOCUMENT_NAME`" length="50"/> + </property> <property name="mySpecificInfo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`MYSPECIFICINFO`"/> </property> - </subclass> + </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TestReferenceAuditing" abstract="false" lazy="false" discriminator-value="TestReferenceAuditing" table="`TESTREFERENCEAUDITING`"> <meta attribute="eclassName" inherit="false">TestReferenceAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclassAuditing</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_e_o_hibernate.hbm.xml index 55a5256d4..9a7c0f45f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_e_o_hibernate.hbm.xml @@ -49,150 +49,4 @@ <column not-null="true" unique="false" name="`AGE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" table="`TENEOAUDITCOMMITINFO`"> - <meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - <generator class="native"/> - </id> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`VERSION`"/> - </version> - <property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`USER`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`COMMENT`" length="2000"/> - </property> - <property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`COMMITTIME`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" table="`PERSONAUDITING`"> - <meta attribute="eclassName" inherit="false">PersonAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalidAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <natural-id mutable="false"> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FIRSTNAME`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LASTNAME`"/> - </property> - </natural-id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PERSONAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`AGE`"/> - </property> - <property name="family" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FAMILY`"/> - </property> - <property name="callName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CALLNAME`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FamilyAuditing" abstract="false" lazy="false" table="`FAMILYAUDITING`"> - <meta attribute="eclassName" inherit="false">FamilyAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalidAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <natural-id mutable="false"> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> - </property> - </natural-id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="FAMILYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`AGE`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`ID`"/> - </property> - </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_h_o_hibernate.hbm.xml index 27387286c..628df6f9c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/NaturalIdAction_hsqldb_h_o_hibernate.hbm.xml @@ -55,159 +55,4 @@ <column not-null="true" unique="false" name="`AGE`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" discriminator-value="TeneoAuditCommitInfo" table="`TENEOAUDITCOMMITINFO`"> - <meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta> - <id name="id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="TENEOAUDITCOMMITINFODTYPE" length="255" not-null="true"/> - </discriminator> - <version name="version" type="long"> - <column not-null="true" unique="false" name="`VERSION`"/> - </version> - <property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`USER`"/> - </property> - <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`COMMENT`" length="2000"/> - </property> - <property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`COMMITTIME`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" discriminator-value="PersonAuditing" table="`PERSONAUDITING`"> - <meta attribute="eclassName" inherit="false">PersonAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalidAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="PERSONAUDITINGDTYPE" length="255" not-null="true"/> - </discriminator> - <natural-id mutable="false"> - <property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FIRSTNAME`"/> - </property> - <property name="lastName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`LASTNAME`"/> - </property> - </natural-id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PERSONAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`AGE`"/> - </property> - <property name="family" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`FAMILY`"/> - </property> - <property name="callName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`CALLNAME`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FamilyAuditing" abstract="false" lazy="false" discriminator-value="FamilyAuditing" table="`FAMILYAUDITING`"> - <meta attribute="eclassName" inherit="false">FamilyAuditing</meta> - <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalidAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="FAMILYAUDITINGDTYPE" length="255" not-null="true"/> - </discriminator> - <natural-id mutable="false"> - <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> - </property> - </natural-id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="FAMILYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> - </property> - <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`AGE`"/> - </property> - <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`ID`"/> - </property> - </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_e_o_hibernate.hbm.xml index 7a44b2552..c3b514b0c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_e_o_hibernate.hbm.xml @@ -160,6 +160,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -216,6 +219,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -272,6 +278,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_h_o_hibernate.hbm.xml index 3c2515c6e..2937f1758 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractReferenceAction_hsqldb_h_o_hibernate.hbm.xml @@ -166,6 +166,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -225,6 +228,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -284,6 +290,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_e_o_hibernate.hbm.xml index 3acbccb4e..a80ca9787 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_e_o_hibernate.hbm.xml @@ -213,6 +213,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -268,6 +271,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -351,6 +357,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -431,6 +440,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -490,6 +502,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_h_o_hibernate.hbm.xml index 2149a9a50..447d272e2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/AbstractTopClassAction_hsqldb_h_o_hibernate.hbm.xml @@ -225,6 +225,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -283,6 +286,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -363,6 +369,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -440,6 +449,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -499,6 +511,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_e_o_hibernate.hbm.xml index df190c72b..18f808339 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_e_o_hibernate.hbm.xml @@ -84,6 +84,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_h_o_hibernate.hbm.xml index f52d6d3b1..2e8543dd6 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ224991Action_hsqldb_h_o_hibernate.hbm.xml @@ -90,6 +90,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_e_o_hibernate.hbm.xml index 105e0f249..c3aeee766 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_e_o_hibernate.hbm.xml @@ -108,6 +108,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -161,8 +164,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> <property name="one" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`ONE`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_h_o_hibernate.hbm.xml index 63f985df6..5eabb707e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237361Action_hsqldb_h_o_hibernate.hbm.xml @@ -120,6 +120,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -176,8 +179,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> <property name="one" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`ONE`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_e_o_hibernate.hbm.xml index c46f5f907..aea8b5920 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_e_o_hibernate.hbm.xml @@ -98,6 +98,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -151,8 +154,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_h_o_hibernate.hbm.xml index 9eaceccbe..499f2c519 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237498Action_hsqldb_h_o_hibernate.hbm.xml @@ -110,6 +110,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -166,8 +169,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_e_o_hibernate.hbm.xml index be9a88e1f..eb3546c34 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_e_o_hibernate.hbm.xml @@ -103,6 +103,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -156,8 +159,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_h_o_hibernate.hbm.xml index 98310940e..80cd34ef1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237790Action_hsqldb_h_o_hibernate.hbm.xml @@ -115,6 +115,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -171,8 +174,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_e_o_hibernate.hbm.xml index 8f7bdd99c..c446e59d2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_e_o_hibernate.hbm.xml @@ -102,6 +102,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -155,8 +158,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> <property name="one" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`ONE`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_h_o_hibernate.hbm.xml index b57c868a2..faccc0ed3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ237994Action_hsqldb_h_o_hibernate.hbm.xml @@ -114,6 +114,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="manies" table="`ONEAUDITING_MANIESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ONEAUDITING_MANIES_TENEO_AUDIT_ID`" unique="false"/> @@ -170,8 +173,11 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`NAME`"/> + <column not-null="false" unique="false" name="`MYNAME`"/> </property> <property name="one" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`ONE`"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_e_o_hibernate.hbm.xml index 4093753b9..0a60f22a5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_e_o_hibernate.hbm.xml @@ -108,6 +108,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -167,6 +170,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_h_o_hibernate.hbm.xml index f91a14a8e..2a1776ccb 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247785Action_hsqldb_h_o_hibernate.hbm.xml @@ -117,6 +117,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -179,6 +182,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_e_o_hibernate.hbm.xml index 558e461a0..9b77c40b9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_e_o_hibernate.hbm.xml @@ -113,6 +113,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -162,6 +165,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_h_o_hibernate.hbm.xml index cba35fc4c..711999f95 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ247939Action_hsqldb_h_o_hibernate.hbm.xml @@ -122,6 +122,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -174,6 +177,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_e_o_hibernate.hbm.xml index f8f857bc2..4d9a71cf3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_e_o_hibernate.hbm.xml @@ -91,6 +91,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_h_o_hibernate.hbm.xml index 78d5ea1f3..bb32428dc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249246Action_hsqldb_h_o_hibernate.hbm.xml @@ -97,6 +97,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_e_o_hibernate.hbm.xml index 30e573e38..87ce34827 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_e_o_hibernate.hbm.xml @@ -147,6 +147,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -155,7 +158,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -213,6 +216,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -276,6 +282,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_h_o_hibernate.hbm.xml index 37a90cc59..01f43e5b8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ249440Action_hsqldb_h_o_hibernate.hbm.xml @@ -162,6 +162,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`"/> </property> @@ -170,7 +173,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</param> @@ -231,6 +234,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -297,6 +303,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_e_o_hibernate.hbm.xml index 11b21e868..955e84cb6 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_e_o_hibernate.hbm.xml @@ -95,6 +95,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`REF`"/> </property> @@ -144,6 +147,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`REF`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_h_o_hibernate.hbm.xml index 62e909fa0..cfc751486 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ253799Action_hsqldb_h_o_hibernate.hbm.xml @@ -107,6 +107,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`REF`"/> </property> @@ -159,6 +162,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="ref" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`REF`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_e_o_hibernate.hbm.xml index e0d017113..fe512a827 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_e_o_hibernate.hbm.xml @@ -100,6 +100,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -152,6 +155,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -204,6 +210,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_h_o_hibernate.hbm.xml index d6f5f2e6c..9e5579011 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277546Action_hsqldb_h_o_hibernate.hbm.xml @@ -115,6 +115,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -170,6 +173,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -225,6 +231,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_e_o_hibernate.hbm.xml index 4d9a439c6..910a54679 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_e_o_hibernate.hbm.xml @@ -115,6 +115,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -167,6 +170,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="bars" table="`FOOAUDITING_BARSAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`FOOAUDITING_BARS_TENEO_AUDIT_ID`" unique="false"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_h_o_hibernate.hbm.xml index 8f68bc253..b5f6b6649 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ277570Action_hsqldb_h_o_hibernate.hbm.xml @@ -121,6 +121,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -176,6 +179,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="bars" table="`FOOAUDITING_BARSAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`FOOAUDITING_BARS_TENEO_AUDIT_ID`" unique="false"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_hsqldb_e_o_hibernate.hbm.xml index bed4d8965..3d9432746 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BZ302933Action_hsqldb_e_o_hibernate.hbm.xml @@ -78,5 +78,8 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> </class> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_e_o_hibernate.hbm.xml index 7c5bd4010..da3cd4b8b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_e_o_hibernate.hbm.xml @@ -91,6 +91,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_h_o_hibernate.hbm.xml index 23dbfad7c..31ae64266 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/BagDuplicateAction_hsqldb_h_o_hibernate.hbm.xml @@ -100,6 +100,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_e_o_hibernate.hbm.xml index 9d7a9240c..6dbbc88bd 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_e_o_hibernate.hbm.xml @@ -92,6 +92,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="itemType" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`ITEMTYPE`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_h_o_hibernate.hbm.xml index 038fc4492..d5b5211bc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/EnumTestAction_hsqldb_h_o_hibernate.hbm.xml @@ -101,6 +101,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="itemType" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`ITEMTYPE`"/> <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_e_o_hibernate.hbm.xml index 230af252e..bf1fd65f7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_e_o_hibernate.hbm.xml @@ -159,6 +159,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -221,6 +224,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -273,6 +279,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -322,6 +331,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -371,6 +383,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_h_o_hibernate.hbm.xml index 5d6bcf4c8..97e079839 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/GeneralTestAction_hsqldb_h_o_hibernate.hbm.xml @@ -180,6 +180,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -245,6 +248,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -300,6 +306,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -352,6 +361,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -404,6 +416,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_e_o_hibernate.hbm.xml index f061d6bd1..7474d9efa 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_e_o_hibernate.hbm.xml @@ -122,6 +122,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -199,6 +202,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_h_o_hibernate.hbm.xml index dd277e82f..b8e82391a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InheritanceAction_hsqldb_h_o_hibernate.hbm.xml @@ -122,6 +122,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -193,6 +196,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_e_o_hibernate.hbm.xml index 58f311504..e7eebf6d7 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_e_o_hibernate.hbm.xml @@ -109,6 +109,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -168,6 +171,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="addresses" table="`ADDRESSLISTAUDITING_ADDRESSESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ADDRESSLISTAUDITING_ADDRESSES_TENEO_AUDIT_ID`" unique="false"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_h_o_hibernate.hbm.xml index da024f4ea..faf2406ce 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/InterfaceTrueAction_hsqldb_h_o_hibernate.hbm.xml @@ -118,6 +118,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -177,6 +180,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="addresses" table="`ADDRESSLISTAUDITING_ADDRESSESAUDITING`" lazy="true" cascade="all"> <key update="true"> <column name="`ADDRESSLISTAUDITING_ADDRESSES_TENEO_AUDIT_ID`" unique="false"/> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_hsqldb_e_o_hibernate.hbm.xml index e2ef237c9..87fb2a815 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/LargeMapValueAction_hsqldb_e_o_hibernate.hbm.xml @@ -90,6 +90,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <list name="testMap" lazy="true" cascade="all,delete-orphan"> <key update="true" foreign-key="TESTELEMENTAUDITING_TESTMAP"> <column name="`TESTELEMENTAUDITING_TESTMAP_TENEO_AUDIT_ID`" unique="false"/> @@ -146,6 +149,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="key" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`KEY`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_e_o_hibernate.hbm.xml index 8ac41bed5..50c288d20 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_e_o_hibernate.hbm.xml @@ -97,6 +97,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_h_o_hibernate.hbm.xml index 6c2d3e09d..2a516ccb9 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MTMSameAction_hsqldb_h_o_hibernate.hbm.xml @@ -106,6 +106,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_e_o_hibernate.hbm.xml index eeb573974..abffac8f3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_e_o_hibernate.hbm.xml @@ -174,6 +174,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ANOTHERPROPERTY`"/> </property> @@ -195,62 +198,6 @@ <element type="java.lang.String"/> </list> </joined-subclass> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SomeOtherBaseClassAuditing" abstract="false" lazy="false" table="`SOMEOTHERBASECLASSAUDITING`"> - <meta attribute="eclassName" inherit="false">SomeOtherBaseClassAuditing</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="property" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`PROPERTY`"/> - </property> - <list name="nameValuePairs" table="`SOMEOTHERBASECLASSAUDITING_NAMEVALUEPAIRSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SOMEOTHERBASECLASSAUDITING_NAMEVALUEPAIRS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SOMEOTHERBASECLASSAUDITING_NAMEVALUEPAIRS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="NameValuePairAuditing" abstract="false" lazy="false" table="`NAMEVALUEPAIRAUDITING`"> <meta attribute="eclassName" inherit="false">NameValuePairAuditing</meta> <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> @@ -296,6 +243,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -348,12 +298,15 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ANOTHERPROPERTY`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentTwoAuditing" abstract="false" lazy="false" table="`PARENTTWOAUDITING`"> - <meta attribute="eclassName" inherit="false">ParentTwoAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" table="`CHILDAUDITING`"> + <meta attribute="eclassName" inherit="false">ChildAuditing</meta> <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> @@ -397,68 +350,12 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> - <property name="testId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TESTID`"/> - </property> - <property name="someReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SOMEREFERENCE`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentZeroAuditing" abstract="false" lazy="false" table="`PARENTZEROAUDITING`"> - <meta attribute="eclassName" inherit="false">ParentZeroAuditing</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> - </class> - <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" extends="ParentZeroAuditing" table="`CHILDAUDITING`"> - <meta attribute="eclassName" inherit="false">ChildAuditing</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> - <key> - <column name="`PARENTZEROAUDITING_TENEO_AUDIT_ID`"/> - </key> <property name="testId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TESTID`"/> </property> @@ -468,15 +365,15 @@ <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`AGE`"/> </property> - </joined-subclass> - <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="Child2Auditing" abstract="false" lazy="false" extends="ParentZeroAuditing" table="`CHILD2AUDITING`"> + </class> + <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="Child2Auditing" abstract="false" lazy="false" extends="ParentOneAuditing" table="`CHILD2AUDITING`"> <meta attribute="eclassName" inherit="false">Child2Auditing</meta> <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> <key> <column name="`PARENTZEROAUDITING_TENEO_AUDIT_ID`"/> </key> - <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`ANOTHERPROPERTY`"/> + <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`NAME`"/> </property> <property name="testId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TESTID`"/> @@ -533,6 +430,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_h_o_hibernate.hbm.xml index 1ed44be87..852b46666 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/MultipleInheritanceAction_hsqldb_h_o_hibernate.hbm.xml @@ -189,6 +189,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ANOTHERPROPERTY`"/> </property> @@ -207,65 +210,6 @@ <element type="java.lang.String"/> </list> </subclass> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="SomeOtherBaseClassAuditing" abstract="false" lazy="false" discriminator-value="SomeOtherBaseClassAuditing" table="`SOMEOTHERBASECLASSAUDITING`"> - <meta attribute="eclassName" inherit="false">SomeOtherBaseClassAuditing</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="SOMEOTHERBASECLASSAUDITINGDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> - </property> - <property name="property" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`PROPERTY`"/> - </property> - <list name="nameValuePairs" table="`SOMEOTHERBASECLASSAUDITING_NAMEVALUEPAIRSAUDITING`" lazy="true" cascade="all"> - <key update="true"> - <column name="`SOMEOTHERBASECLASSAUDITING_NAMEVALUEPAIRS_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`SOMEOTHERBASECLASSAUDITING_NAMEVALUEPAIRS_IDX`"/> - <element type="java.lang.String"/> - </list> - </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="NameValuePairAuditing" abstract="false" lazy="false" discriminator-value="NameValuePairAuditing" table="`NAMEVALUEPAIRAUDITING`"> <meta attribute="eclassName" inherit="false">NameValuePairAuditing</meta> <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> @@ -314,6 +258,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -369,19 +316,22 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ANOTHERPROPERTY`"/> </property> </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentTwoAuditing" abstract="false" lazy="false" discriminator-value="ParentTwoAuditing" table="`PARENTTWOAUDITING`"> - <meta attribute="eclassName" inherit="false">ParentTwoAuditing</meta> + <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" discriminator-value="ChildAuditing" table="`CHILDAUDITING`"> + <meta attribute="eclassName" inherit="false">ChildAuditing</meta> <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> <id name="teneo_audit_id" type="long" unsaved-value="0"> <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> <generator class="native"/> </id> <discriminator type="string"> - <column name="`DTYPE`" index="PARENTTWOAUDITINGDTYPE" length="255" not-null="true"/> + <column name="`DTYPE`" index="CHILDAUDITINGDTYPE" length="255" not-null="true"/> </discriminator> <version name="teneo_version" type="long"> <column not-null="true" unique="false" name="`TENEO_VERSION`"/> @@ -421,68 +371,12 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> - <property name="testId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TESTID`"/> - </property> - <property name="someReference" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`SOMEREFERENCE`"/> - </property> - </class> - <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ParentZeroAuditing" abstract="false" lazy="false" discriminator-value="ParentZeroAuditing" table="`PARENTZEROAUDITING`"> - <meta attribute="eclassName" inherit="false">ParentZeroAuditing</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> - <id name="teneo_audit_id" type="long" unsaved-value="0"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> - <generator class="native"/> - </id> - <discriminator type="string"> - <column name="`DTYPE`" index="PARENTZEROAUDITINGDTYPE" length="255" not-null="true"/> - </discriminator> - <version name="teneo_version" type="long"> - <column not-null="true" unique="false" name="`TENEO_VERSION`"/> - </version> - <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> - </property> - <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`" index="teneo_derived_object"/> - </property> - <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> - </property> - <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> - </property> - <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" insert="true" update="true" not-null="true"> - <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> - </many-to-one> - <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> - <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> - <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> - <param name="eclassifier">TeneoAuditKind</param> - <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> - </type> - </property> - <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> - </property> - <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> - <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> - </property> - <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> - </property> - <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> - </class> - <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ChildAuditing" abstract="false" lazy="false" extends="ParentZeroAuditing" discriminator-value="ChildAuditing"> - <meta attribute="eclassName" inherit="false">ChildAuditing</meta> - <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> <property name="testId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TESTID`"/> </property> @@ -492,12 +386,12 @@ <property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`AGE`"/> </property> - </subclass> - <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="Child2Auditing" abstract="false" lazy="false" extends="ParentZeroAuditing" discriminator-value="Child2Auditing"> + </class> + <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="Child2Auditing" abstract="false" lazy="false" extends="ParentOneAuditing" discriminator-value="Child2Auditing"> <meta attribute="eclassName" inherit="false">Child2Auditing</meta> <meta attribute="epackage" inherit="false">http://xsd.tns.example.com/testinheritance/modelAuditing</meta> - <property name="anotherProperty" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> - <column not-null="false" unique="false" name="`ANOTHERPROPERTY`"/> + <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`NAME`"/> </property> <property name="testId" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TESTID`"/> @@ -557,6 +451,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_e_o_hibernate.hbm.xml index 3d4f0fb9f..4c67096ef 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_e_o_hibernate.hbm.xml @@ -90,6 +90,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="hair" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`HAIR`"/> </property> @@ -139,6 +142,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_h_o_hibernate.hbm.xml index 0c55c2516..f4e8d5e27 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/ResourceAction_hsqldb_h_o_hibernate.hbm.xml @@ -102,6 +102,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="hair" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`HAIR`"/> </property> @@ -154,6 +157,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_e_o_hibernate.hbm.xml index c02231094..0db2e512e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_e_o_hibernate.hbm.xml @@ -100,6 +100,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -110,15 +113,11 @@ <key> <column name="`GENERICAUDITING_TENEO_AUDIT_ID`"/> </key> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> <column not-null="false" unique="false" name="`ADDRESS`"/> </property> - <array name="photo" table="`PERSONAUDITING_PHOTOAUDITING`" cascade="all"> - <key update="true"> - <column name="`PERSONAUDITING_PHOTO_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PERSONAUDITING_PHOTO_IDX`"/> - <element type="byte"/> - </array> + <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> + <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> + </property> </joined-subclass> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_h_o_hibernate.hbm.xml index 8d5635a61..57690a8b0 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SecondarytableInheritanceAction_hsqldb_h_o_hibernate.hbm.xml @@ -106,6 +106,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`ID`"/> </property> @@ -113,15 +116,11 @@ <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" extends="GenericAuditing" discriminator-value="PersonAuditing"> <meta attribute="eclassName" inherit="false">PersonAuditing</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/secondaryAuditing</meta> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> <column not-null="false" unique="false" name="`ADDRESS`"/> </property> - <array name="photo" table="`PERSONAUDITING_PHOTOAUDITING`" cascade="all"> - <key update="true"> - <column name="`PERSONAUDITING_PHOTO_TENEO_AUDIT_ID`" unique="false"/> - </key> - <list-index column="`PERSONAUDITING_PHOTO_IDX`"/> - <element type="byte"/> - </array> + <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> + <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> + </property> </subclass> </hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_e_o_hibernate.hbm.xml index 590b2d25f..e1b1a6a76 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_e_o_hibernate.hbm.xml @@ -113,6 +113,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -169,6 +172,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_h_o_hibernate.hbm.xml index 72331c433..ec448ce47 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SimplenmAction_hsqldb_h_o_hibernate.hbm.xml @@ -125,6 +125,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> @@ -184,6 +187,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_e_o_hibernate.hbm.xml index 07db3b320..98571bcb8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_e_o_hibernate.hbm.xml @@ -156,6 +156,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`" length="50"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`" length="50"/> </property> @@ -164,7 +167,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> @@ -220,6 +223,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`" length="50"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`" length="50"/> </property> @@ -284,6 +290,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`" length="50"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`" length="50"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_h_o_hibernate.hbm.xml index 774eb9116..42bf7bcbc 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/SupInterfacesAction_hsqldb_h_o_hibernate.hbm.xml @@ -171,6 +171,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`" length="50"/> + </property> <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`TITLE`" length="50"/> </property> @@ -179,7 +182,7 @@ </property> <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false"> <column not-null="false" unique="false" name="`CATEGORY`"/> - <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> + <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType"> <param name="enumClass">org.eclipse.emf.teneo.samples.issues.library.BookCategory</param> <param name="eclassifier">BookCategory</param> <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/supinterfaces</param> @@ -238,6 +241,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`" length="50"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`" length="50"/> </property> @@ -305,6 +311,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`" length="50"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`" length="50"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_e_o_hibernate.hbm.xml index 6b1bacd36..00539c84e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_e_o_hibernate.hbm.xml @@ -154,6 +154,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_h_o_hibernate.hbm.xml index a0486d56c..b1179d1ae 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.issues/TopClassesAction_hsqldb_h_o_hibernate.hbm.xml @@ -148,6 +148,9 @@ <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> </property> + <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> + </property> <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`NAME`"/> </property> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/AllTests.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/AllTests.java index 05ecb51ae..b9f9b95df 100755 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/AllTests.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/AllTests.java @@ -34,10 +34,10 @@ public class AllTests { TestSuite suite = new MultiCfgTestSuite( "Test for org.eclipse.emf.teneo.hibernate.test.emf.auditing", HibernateTestbed.instance() .getConfigurations()); + suite.addTestSuite(EMapAuditingNoTrueEMapAction.class); suite.addTestSuite(EMapAuditingTrueEMapAction.class); suite.addTestSuite(SimpleArrayAuditingAction.class); suite.addTestSuite(SimpleTypeAuditingAction.class); - suite.addTestSuite(EMapAuditingNoTrueEMapAction.class); suite.addTestSuite(SimpleLibraryAuditingAction.class); return suite; } diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingNoTrueEMapAction.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingNoTrueEMapAction.java index 262ff8e5e..b3bcc78fd 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingNoTrueEMapAction.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingNoTrueEMapAction.java @@ -16,9 +16,26 @@ package org.eclipse.emf.teneo.hibernate.test.emf.auditing; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Date; +import java.util.Iterator; +import java.util.List; import java.util.Properties; import org.eclipse.emf.teneo.PersistenceOptions; +import org.eclipse.emf.teneo.hibernate.auditing.AuditVersionProvider; +import org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditEntry; +import org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind; +import org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierCacheHandler; +import org.eclipse.emf.teneo.hibernate.test.stores.HibernateTestStore; +import org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Book; +import org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Category; +import org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.EmapFactory; +import org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.EmapPackage; +import org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Writer; +import org.eclipse.emf.teneo.test.AbstractTestAction; +import org.eclipse.emf.teneo.test.stores.TestStore; /** * Tests support for emaps and auditing. @@ -26,7 +43,19 @@ import org.eclipse.emf.teneo.PersistenceOptions; * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> * @version $Revision: 1.2 $ */ -public class EMapAuditingNoTrueEMapAction extends EMapAuditingTrueEMapAction { +public class EMapAuditingNoTrueEMapAction extends AbstractTestAction { + + private Date testDate = new Date(); + private Date testDate2 = new Date(System.currentTimeMillis() + 1000); + + /** + * Constructor for ClassHierarchyParsing. + * + * @param arg0 + */ + public EMapAuditingNoTrueEMapAction() { + super(EmapPackage.eINSTANCE); + } /* * (non-Javadoc) @@ -40,4 +69,193 @@ public class EMapAuditingNoTrueEMapAction extends EMapAuditingTrueEMapAction { props.setProperty(PersistenceOptions.ENABLE_AUDITING, "true"); return props; } + + /** Creates an item, an address and links them to a po. */ + @Override + public void doAction(TestStore store) { + final String pre1 = "prefix1"; + final String pre2 = "prefix2"; + { + store.beginTransaction(); + store.store(createTestSet(pre1)); + store.store(createTestSet(pre2)); + store.commitTransaction(); + } + + Writer w3 = null; + { + // update some stuff + store.beginTransaction(); + List<Book> lst = store.getObjects(Book.class); + for (Iterator<Book> it = lst.iterator(); it.hasNext();) { + final Book bk = it.next(); + if (bk.getTitle().equals(pre1)) { + bk.setTitle("updated_" + pre1); + bk.getKeyWords().remove(pre1 + "_2"); + bk.getKeyWords().put(pre1 + "abc", "abc"); + bk.getCityByWriter().clear(); + bk.getCategoryByDate().put(testDate, Category.SIMPLE); + bk.getCategoryByDate().put(testDate2, Category.SIMPLE); + } + if (bk.getTitle().equals(pre2)) { + bk.getCategoryByDate().clear(); + for (Writer w : bk.getWriters().values()) { + w.setName("abc" + w.getName()); + } + w3 = EmapFactory.eINSTANCE.createWriter(); + w3.setName(pre2 + "name3"); + store.store(w3); + bk.getCityByWriter().put(w3, w3.getName()); + } + } + store.commitTransaction(); + } + + Object id = null; + final HibernateTestStore testStore = (HibernateTestStore) store; + { + final AuditVersionProvider auditVersionProvider = testStore.getEmfDataStore() + .getAuditVersionProvider(); + + for (Book bk : store.getObjects(Book.class)) { + id = IdentifierCacheHandler.getInstance().getID(bk); + final List<TeneoAuditEntry> auditEntries = auditVersionProvider.getAllAuditEntries(bk); + assertEquals(3, auditEntries.size()); + assertEquals(TeneoAuditKind.ADD, auditEntries.get(0).getTeneo_audit_kind()); + assertEquals(TeneoAuditKind.UPDATE, auditEntries.get(1).getTeneo_audit_kind()); + assertEquals(TeneoAuditKind.UPDATE, auditEntries.get(2).getTeneo_audit_kind()); + final Book bkAdd = (Book) auditVersionProvider.getRevision(auditEntries.get(0)); + final Book bkUpdate1 = (Book) auditVersionProvider.getRevision(auditEntries.get(1)); + final Book bkUpdate = (Book) auditVersionProvider.getRevision(auditEntries.get(2)); + assertTrue(bkAdd != bkUpdate); + + final Collection<Writer> updateWriters = bkUpdate.getWriters().values(); + for (Writer w : bkAdd.getWriters().values()) { + assertFalse(updateWriters.contains(w)); + } + + if (bk.getTitle().equals("updated_" + pre1)) { + assertTrue(bkAdd.getTitle().equals(pre1)); + assertTrue(bkAdd.getKeyWords().size() == 2); + assertTrue(bkAdd.getKeyWords().containsKey(pre1 + "_2")); + assertFalse(bkAdd.getKeyWords().containsKey(pre1 + "abc")); + assertTrue(bkAdd.getCityByWriter().size() == 2); + assertTrue(bkAdd.getCategoryByDate().size() == 1); + assertTrue(bkAdd.getCategoryByDate().containsKey(testDate)); + + assertTrue(bkUpdate.getTitle().equals("updated_" + pre1)); + assertTrue(bkUpdate.getKeyWords().size() == 2); + assertFalse(bkUpdate.getKeyWords().containsKey(pre1 + "_2")); + assertTrue(bkUpdate.getKeyWords().containsKey(pre1 + "abc")); + assertTrue(bkUpdate.getCityByWriter().size() == 0); + assertTrue(bkUpdate.getCategoryByDate().size() == 2); + assertTrue(bkUpdate.getCategoryByDate().containsKey(testDate)); + assertTrue(bkUpdate.getCategoryByDate().containsKey(testDate)); + } else { + // test bk2 + assertTrue(bkAdd.getWriters().size() == 2); + for (Writer w : bkAdd.getWriters().values()) { + // emap entry does not resolve automatically + w = auditVersionProvider.resolve(w); + assertTrue(w.getName().startsWith(pre2)); + } + assertTrue(bkAdd.getCategoryByDate().size() == 1); + assertTrue(bkUpdate.getCategoryByDate().size() == 0); + + List<Writer> writers = new ArrayList<Writer>(); + for (Writer w : bkUpdate.getWriters().values()) { + // emap entry does not resolve automatically + w = auditVersionProvider.resolve(w); + writers.add(w); + assertTrue(w.getName().startsWith("abc")); + } + + assertTrue(bkUpdate.getCityByWriter().keySet().size() == 3); + for (Writer w : bkUpdate.getCityByWriter().keySet()) { + // emap entry does not resolve automatically + w = auditVersionProvider.resolve(w); + // check that the resolve in the previous for-loop + // and this one, give the exact same objects + if (w.getName().startsWith("abc")) { + assertTrue(writers.contains(w)); + } + + assertTrue(w.getName().startsWith("abc") || w.getName().equals(pre2 + "name3")); + if (w.getName().equals(pre2 + "name3")) { + final List<TeneoAuditEntry> wAuditEntries = auditVersionProvider + .getAllAuditEntries(w3); + assertTrue(wAuditEntries.size() == 1); + assertTrue(wAuditEntries.get(0).getTeneo_audit_kind() == TeneoAuditKind.ADD); + } + } + } + } + auditVersionProvider.close(); + } + + { + store.beginTransaction(); + List<Book> lst = store.getObjects(Book.class); + for (Iterator<Book> it = lst.iterator(); it.hasNext();) { + final Book bk = it.next(); + store.deleteObject(bk); + } + store.commitTransaction(); + } + + { + final AuditVersionProvider auditVersionProvider = testStore.getEmfDataStore() + .getAuditVersionProvider(); + store.beginTransaction(); + final List<TeneoAuditEntry> auditEntries = auditVersionProvider.getAllAuditEntries( + EmapPackage.eINSTANCE.getBook(), id); + assertTrue(auditEntries.size() == 4); + TeneoAuditEntry e0 = auditEntries.get(0); + TeneoAuditEntry e1 = auditEntries.get(1); + TeneoAuditEntry e2 = auditEntries.get(2); + TeneoAuditEntry e3 = auditEntries.get(3); + assertTrue(e0.getTeneo_audit_kind() == TeneoAuditKind.ADD); + assertTrue(e1.getTeneo_audit_kind() == TeneoAuditKind.UPDATE); + assertTrue(e2.getTeneo_audit_kind() == TeneoAuditKind.UPDATE); + assertTrue(e3.getTeneo_audit_kind() == TeneoAuditKind.DELETE); + + assertTrue(e0.getTeneo_previous_start() == -1); + assertTrue(e1.getTeneo_previous_start() == e0.getTeneo_start()); + assertTrue(e1.getTeneo_start() == (e0.getTeneo_end() + 1)); + assertTrue(e2.getTeneo_previous_start() == e1.getTeneo_start()); + assertTrue(e2.getTeneo_start() == (e1.getTeneo_end() + 1)); + assertTrue(e3.getTeneo_previous_start() == e2.getTeneo_start()); + assertTrue(e3.getTeneo_start() == (e2.getTeneo_end() + 1)); + assertTrue(e3.getTeneo_end() == -1); + + assertTrue(e1 == auditVersionProvider.getNextEntry(e0)); + assertTrue(e0 == auditVersionProvider.getPreviousEntry(e1)); + assertTrue(e2 == auditVersionProvider.getNextEntry(e1)); + assertTrue(e3 == auditVersionProvider + .getLatestAuditEntry(EmapPackage.eINSTANCE.getBook(), id)); + + store.commitTransaction(); + auditVersionProvider.close(); + } + } + + /** Create test set */ + private Book createTestSet(String prefix) { + final EmapFactory factory = EmapFactory.eINSTANCE; + final Writer w1 = factory.createWriter(); + w1.setName(prefix + "name1"); + final Writer w2 = factory.createWriter(); + w2.setName(prefix + "name2"); + final Book bk = factory.createBook(); + bk.setTitle(prefix); + bk.getWriters().put(w1.getName(), w1); + bk.getWriters().put(w2.getName(), w2); + bk.getKeyWords().put(prefix + "_1", prefix + "_1_value"); + bk.getKeyWords().put(prefix + "_2", prefix + "_2_value"); + bk.getCityByWriter().put(w1, w2.getName()); + bk.getCityByWriter().put(w2, w1.getName()); + bk.getCategoryByDate().put(testDate, Category.COMPLEX); + return bk; + } + } diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingTrueEMapAction.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingTrueEMapAction.java index 522fd364c..6f2714e10 100755 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingTrueEMapAction.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/EMapAuditingTrueEMapAction.java @@ -120,9 +120,9 @@ public class EMapAuditingTrueEMapAction extends AbstractTestAction { for (Book bk : store.getObjects(Book.class)) { id = IdentifierCacheHandler.getInstance().getID(bk); final List<TeneoAuditEntry> auditEntries = auditVersionProvider.getAllAuditEntries(bk); - assertTrue(auditEntries.size() == 2); - assertTrue(auditEntries.get(0).getTeneo_audit_kind() == TeneoAuditKind.ADD); - assertTrue(auditEntries.get(1).getTeneo_audit_kind() == TeneoAuditKind.UPDATE); + assertEquals(2, auditEntries.size()); + assertEquals(TeneoAuditKind.ADD, auditEntries.get(0).getTeneo_audit_kind()); + assertEquals(TeneoAuditKind.UPDATE, auditEntries.get(1).getTeneo_audit_kind()); final Book bkAdd = (Book) auditVersionProvider.getRevision(auditEntries.get(0)); final Book bkUpdate = (Book) auditVersionProvider.getRevision(auditEntries.get(1)); assertTrue(bkAdd != bkUpdate); diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/SimpleLibraryAuditingAction.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/SimpleLibraryAuditingAction.java index 3e3588d8b..40348d0ea 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/SimpleLibraryAuditingAction.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/auditing/SimpleLibraryAuditingAction.java @@ -68,10 +68,46 @@ public class SimpleLibraryAuditingAction extends AbstractTestAction { } private void testSimpleChange(TestStore store) { + int name = 0; { store.beginTransaction(); final Writer writer = LibraryFactory.eINSTANCE.createWriter(); - writer.setName("0"); + writer.setName(name++ + ""); + store.store(writer); + store.commitTransaction(); + } + { + store.beginTransaction(); + final Writer writer = store.getObject(Writer.class); + writer.setName(name++ + ""); + store.store(writer); + store.commitTransaction(); + } + { + store.beginTransaction(); + final Writer writer = store.getObject(Writer.class); + writer.setName(name++ + ""); + store.store(writer); + store.commitTransaction(); + } + { + store.beginTransaction(); + final Writer writer = store.getObject(Writer.class); + writer.setName(name++ + ""); + store.store(writer); + store.commitTransaction(); + } + { + store.beginTransaction(); + final Writer writer = store.getObject(Writer.class); + writer.setName(name++ + ""); + store.store(writer); + store.commitTransaction(); + } + { + store.beginTransaction(); + final Writer writer = store.getObject(Writer.class); + writer.setName(name++ + ""); final Book bk1 = LibraryFactory.eINSTANCE.createBook(); bk1.setTitle("1-simple"); bk1.setPages(0); @@ -88,7 +124,7 @@ public class SimpleLibraryAuditingAction extends AbstractTestAction { for (int i = 0; i < 5; i++) { store.beginTransaction(); final Writer w = store.getObject(Writer.class); - w.setName("" + (i + 1)); + w.setName("" + name++); w.getBooks().get(0).setPages(i + 1); w.getBooks().get(1).setPages(i + 1); store.commitTransaction(); @@ -97,6 +133,7 @@ public class SimpleLibraryAuditingAction extends AbstractTestAction { // and delete store.beginTransaction(); final Writer w = store.getObject(Writer.class); + writer.setName(name++ + ""); store.deleteObject(w.getBooks().get(1)); store.deleteObject(w.getBooks().get(0)); store.deleteObject(w); @@ -108,11 +145,11 @@ public class SimpleLibraryAuditingAction extends AbstractTestAction { .getAuditVersionProvider(); final List<TeneoAuditEntry> revisions = auditVersionProvider.getAllAuditEntries( LibraryPackage.eINSTANCE.getWriter(), id); - assertTrue(revisions.size() == 7); - for (int i = 0; i < 7; i++) { + assertTrue(revisions.size() == 12); + for (int i = 0; i < 12; i++) { if (i == 0) { assertTrue(revisions.get(i).getTeneo_audit_kind() == TeneoAuditKind.ADD); - } else if (i == 6) { + } else if (i == 11) { assertTrue(revisions.get(i).getTeneo_audit_kind() == TeneoAuditKind.DELETE); } else { assertTrue(revisions.get(i).getTeneo_audit_kind() == TeneoAuditKind.UPDATE); @@ -121,17 +158,22 @@ public class SimpleLibraryAuditingAction extends AbstractTestAction { // now get the revisions one by one, not the last one final AuditVersionProvider vp = testStore.getEmfDataStore().getAuditVersionProvider(); - for (int i = 0; i < 6; i++) { + for (int i = 0; i < 12; i++) { final TeneoAuditEntry audit = revisions.get(i); final Writer testW = (Writer) vp.getRevision(LibraryPackage.eINSTANCE.getWriter(), id, audit.getTeneo_start()); - assertTrue(testW.getName().equals("" + i)); - // check the books that they are in the correct revision to - assertFalse(testW.getBooks().get(0).eIsProxy()); - assertFalse(testW.getBooks().get(1).eIsProxy()); - assertTrue(testW.getBooks().get(0).getPages() == i); - assertTrue(testW.getBooks().get(1).getPages() == i); + System.err.println(testW.getName()); + if (audit.getTeneo_audit_kind() != TeneoAuditKind.DELETE) { + assertEquals("" + i, testW.getName()); + } + if (testW.getBooks().size() > 0) { + // check the books that they are in the correct revision to + assertFalse(testW.getBooks().get(0).eIsProxy()); + assertFalse(testW.getBooks().get(1).eIsProxy()); + assertEquals(i - 5, testW.getBooks().get(0).getPages()); + assertEquals(i - 5, testW.getBooks().get(1).getPages()); + } } store.commitTransaction(); diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/AllTests.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/AllTests.java index 7d5ce1824..361b3d92d 100755 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/AllTests.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/AllTests.java @@ -26,6 +26,11 @@ public class AllTests { TestSuite suite = new MultiCfgTestSuite( "Test for org.eclipse.emf.teneo.hibernate.test.emf.jpa2", HibernateTestbed.instance() .getConfigurations()); + suite.addTestSuite(OrphanRemovalAction.class); + if (true) { + return suite; + } + suite.addTestSuite(MapKeyColumnAction.class); suite.addTestSuite(MapKeyJoinColumnAction.class); suite.addTestSuite(MapKeyTypesAction.class); |