Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2009-09-14 21:40:52 +0000
committermtaal2009-09-14 21:40:52 +0000
commitffd47090e1226c308625a6915e7fb44a34a329ae (patch)
treec681f198c30ae99dbe0c1ed5c569a8ed822b2171 /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample
parent51ec716d732df48553a944f160cfbc2f1e462754 (diff)
downloadorg.eclipse.emf.teneo-ffd47090e1226c308625a6915e7fb44a34a329ae.tar.gz
org.eclipse.emf.teneo-ffd47090e1226c308625a6915e7fb44a34a329ae.tar.xz
org.eclipse.emf.teneo-ffd47090e1226c308625a6915e7fb44a34a329ae.zip
[289397]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml36
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml36
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml32
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml12
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml28
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_e_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_s_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml28
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml4
87 files changed, 723 insertions, 473 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml
index cfa41e5f3..3106c4758 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CarAction_mysql_a_o_hibernate.hbm.xml
@@ -9,7 +9,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="carframedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -33,7 +35,9 @@
<id name="carLinkId" type="java.lang.String">
<column not-null="true" unique="false" name="`carlinkid`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="carlinkdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -48,7 +52,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="carslistdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -73,7 +79,9 @@
<id name="name" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="cartiredtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -84,7 +92,9 @@
<id name="carID" type="java.lang.String">
<column not-null="true" unique="false" name="`carid`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="cartypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -103,7 +113,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="carwheeldtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml
index 40f04edb4..ae02795c3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_a_o_hibernate.hbm.xml
@@ -8,7 +8,9 @@
<id name="name" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="catalogtypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -37,15 +39,17 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="pricetypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`price`"/>
+ <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`price`"/>
</property>
- <property name="quantityTo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`quantityto`"/>
+ <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`quantityto`"/>
</property>
<many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/>
@@ -57,12 +61,14 @@
<id name="code" type="java.lang.String">
<column not-null="true" unique="false" name="`code`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="producttypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`description`"/>
+ <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>
<list name="remark" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="producttype_remark">
@@ -82,7 +88,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="stringtypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -97,15 +105,17 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="suppliertypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`noofemployees`"/>
+ <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`noofemployees`"/>
</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.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml
index ba0d690fe..6a58efd49 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_e_o_hibernate.hbm.xml
@@ -39,11 +39,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`price`"/>
+ <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`price`"/>
</property>
- <property name="quantityTo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`quantityto`"/>
+ <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`quantityto`"/>
</property>
<many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/>
@@ -58,8 +58,8 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`description`"/>
+ <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>
<list name="remark" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="producttype_remark">
@@ -99,8 +99,8 @@
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`noofemployees`"/>
+ <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`noofemployees`"/>
</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.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml
index ba0d690fe..6a58efd49 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/CatalogResourceAction_mysql_s_o_hibernate.hbm.xml
@@ -39,11 +39,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`price`"/>
+ <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`price`"/>
</property>
- <property name="quantityTo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`quantityto`"/>
+ <property name="quantityTo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`quantityto`"/>
</property>
<many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="pricetype_supplier" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/>
@@ -58,8 +58,8 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`description`"/>
+ <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>
<list name="remark" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="producttype_remark">
@@ -99,8 +99,8 @@
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`noofemployees`"/>
+ <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`noofemployees`"/>
</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.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml
index 4fc27b799..e4730aa52 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ClaimAction_mysql_a_o_hibernate.hbm.xml
@@ -13,7 +13,9 @@
<column not-null="false" unique="false" name="`clm_ext_nbr`" unique-key="c0"/>
</key-property>
</composite-id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="PCLM_NPRC_CLMdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -46,7 +48,9 @@
<column not-null="false" unique="false" name="`clmln_nbr`" unique-key="c0"/>
</key-property>
</composite-id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="PCLM_NPRC_CLMLNdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml
index 7c0537722..804fa4e0b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_mysql_a_o_hibernate.hbm.xml
@@ -9,7 +9,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="vehicledtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -65,7 +67,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="temporaldtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -142,7 +146,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="vehicleinfodtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -160,7 +166,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="manufacturingplantdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -235,7 +243,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="tiredtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -311,7 +321,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="passengervehicledtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -350,7 +362,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="vindtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -371,7 +385,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="transportationdevicedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -389,7 +405,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="versionholderdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml
index be92d1493..ad0610123 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml
@@ -13,7 +13,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="forumdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -42,7 +44,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="memberdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -71,7 +75,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="postdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -92,15 +98,17 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="topicdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param>
<param name="eclassifier">TopicCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml
index 14efe00d7..06fbf96f3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_e_o_hibernate.hbm.xml
@@ -95,8 +95,8 @@
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param>
<param name="eclassifier">TopicCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml
index 14efe00d7..06fbf96f3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_s_o_hibernate.hbm.xml
@@ -95,8 +95,8 @@
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param>
<param name="eclassifier">TopicCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml
index 140af658c..01a2281d1 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/InventoryAction_mysql_a_o_hibernate.hbm.xml
@@ -9,7 +9,9 @@
<column not-null="true" unique="false" name="`id`"/>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="ptypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -45,7 +47,9 @@
<column not-null="true" unique="false" name="`id`"/>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="pdeclarationdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml
index 2168bb554..f691b0332 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/JuliaAction_mysql_a_o_hibernate.hbm.xml
@@ -8,7 +8,9 @@
<id name="uniqueName" type="java.lang.String">
<column not-null="true" unique="false" name="`uniquename`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdefinitiondtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -39,7 +41,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="resourcelinkdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -61,7 +65,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="booksinlibdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -95,7 +101,9 @@
<id name="uniqueName" type="java.lang.String">
<column not-null="true" unique="false" name="`uniquename`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml
index bc4ab23d2..29dc4e9b7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml
index f87dd02dd..76d9e48e8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml
index f87dd02dd..76d9e48e8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryCheckNameAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml
index f1089b0e9..ebf30e9af 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_a_o_hibernate.hbm.xml
@@ -13,18 +13,20 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`categ`"/>
+ <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`categ`"/>
<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>
@@ -45,7 +47,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="libradtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -74,7 +78,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml
index af14d2b81..d79efa0df 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_e_o_hibernate.hbm.xml
@@ -19,11 +19,11 @@
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`categ`"/>
+ <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`categ`"/>
<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>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml
index af14d2b81..d79efa0df 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryColLengthAction_mysql_s_o_hibernate.hbm.xml
@@ -19,11 +19,11 @@
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`categ`"/>
+ <property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`categ`"/>
<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>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDBothAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryContainerFeatureIDFeatureIDAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml
index c7ac914ea..34880f455 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_a_o_hibernate.hbm.xml
@@ -13,15 +13,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`" length="50"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -43,7 +45,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -75,7 +79,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml
index 67a70aded..94770c2d3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_e_o_hibernate.hbm.xml
@@ -16,11 +16,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml
index 67a70aded..94770c2d3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryFKAction_mysql_s_o_hibernate.hbm.xml
@@ -16,11 +16,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml
index 9c3f9cdad..1843d6689 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml
index 8c3ee3076..b0fdcda43 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml
index 8c3ee3076..b0fdcda43 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryGlobalEagerAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml
index b03d9496a..3035e65bb 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_a_o_hibernate.hbm.xml
@@ -13,15 +13,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`TITLE`"/>
</id>
- <discriminator column="`DTYPE`" type="string"/>
+ <discriminator type="string">
+ <column name="DTYPE" index="BOOKDTYPE" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`PAGES`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`PAGES`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`CATEGORY`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -48,7 +50,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`DTYPE`" type="string"/>
+ <discriminator type="string">
+ <column name="DTYPE" index="LIBRARYDTYPE" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -78,7 +82,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`DTYPE`" type="string"/>
+ <discriminator type="string">
+ <column name="DTYPE" index="WRITERDTYPE" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml
index 385a589c3..45b494ed8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_e_o_hibernate.hbm.xml
@@ -16,11 +16,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`PAGES`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`PAGES`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`CATEGORY`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml
index 385a589c3..45b494ed8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryJoinTableNamingAction_mysql_s_o_hibernate.hbm.xml
@@ -16,11 +16,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`PAGES`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`PAGES`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`CATEGORY`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml
index b4f6f16e2..af279700f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -68,7 +72,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml
index 7ec6012a2..9c9d42d89 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml
index 7ec6012a2..9c9d42d89 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryListAsBagAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNonResolvingAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryNotifyingTestAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml
index 47dd0c513..1f3186a86 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="library_bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="library_librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="library_writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml
index 278952a63..d8606df0a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml
index 278952a63..d8606df0a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryQualifyActionHB_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml
index 11a1148eb..9a6e86b46 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml
index 1843f66a4..fb7b83343 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml
index 1843f66a4..fb7b83343 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceCutPasteAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryResourceVisitTreeAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibrarySerializationAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/LibraryUseMappingFileAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml
index cf86e0da5..07299f285 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ListAsIdBagAction_mysql_a_o_hibernate.hbm.xml
@@ -9,7 +9,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="onedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -32,7 +34,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="manydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml
index 959e7dcbd..fe47c285e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_a_o_hibernate.hbm.xml
@@ -17,7 +17,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="mapdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -53,7 +55,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="relationshipdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -82,7 +86,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="resourcedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -116,7 +122,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="threaddtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -144,7 +152,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="threaditemdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -165,7 +175,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="topicdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml
index 0c147323d..5590f8a84 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_a_o_hibernate.hbm.xml
@@ -13,15 +13,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="title" length="50"/>
</id>
- <discriminator column="dtype" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="pages"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="pages"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="category"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -43,7 +45,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="dtype" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -75,7 +79,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="dtype" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml
index 5a4a0b0b5..6d539c3b2 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_e_o_hibernate.hbm.xml
@@ -16,11 +16,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="pages"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="pages"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="category"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml
index 5a4a0b0b5..6d539c3b2 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/NoEscapeLibraryAction_mysql_s_o_hibernate.hbm.xml
@@ -16,11 +16,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="pages"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="pages"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="category"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml
index aa5ce68e3..84a5ba760 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_a_o_hibernate.hbm.xml
@@ -9,7 +9,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="acttypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -20,8 +22,8 @@
<list-index column="`acttype_scene_idx`"/>
<one-to-many entity-name="SceneType"/>
</list>
- <property name="pindex" lazy="false" insert="true" update="true" not-null="true" unique="false" type="byte">
- <column not-null="true" unique="false" name="`pindex`"/>
+ <property name="pindex" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte">
+ <column not-null="false" unique="false" name="`pindex`"/>
</property>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
@@ -34,7 +36,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="fmtypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -53,7 +57,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="personaetypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -91,7 +97,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="personagrouptypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -113,7 +121,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="playtypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -147,7 +157,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="scenetypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -188,7 +200,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="speechtypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml
index 37e7aa78e..f9d2d6d20 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_e_o_hibernate.hbm.xml
@@ -19,8 +19,8 @@
<list-index column="`acttype_scene_idx`"/>
<one-to-many entity-name="SceneType"/>
</list>
- <property name="pindex" lazy="false" insert="true" update="true" not-null="true" unique="false" type="byte">
- <column not-null="true" unique="false" name="`pindex`"/>
+ <property name="pindex" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte">
+ <column not-null="false" unique="false" name="`pindex`"/>
</property>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml
index 37e7aa78e..f9d2d6d20 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PlayAction_mysql_s_o_hibernate.hbm.xml
@@ -19,8 +19,8 @@
<list-index column="`acttype_scene_idx`"/>
<one-to-many entity-name="SceneType"/>
</list>
- <property name="pindex" lazy="false" insert="true" update="true" not-null="true" unique="false" type="byte">
- <column not-null="true" unique="false" name="`pindex`"/>
+ <property name="pindex" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte">
+ <column not-null="false" unique="false" name="`pindex`"/>
</property>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml
index 45c18a1bf..91a8ec34e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_a_o_hibernate.hbm.xml
@@ -9,7 +9,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="itemdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -39,7 +41,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="purchaseorderdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="usaddressdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml
index ba4e3b857..758c08539 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_a_o_hibernate.hbm.xml
@@ -8,18 +8,20 @@
<id name="id" type="java.lang.String">
<column not-null="true" unique="false" name="`id`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="producttypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`code`"/>
+ <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>
<many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_supplier" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/>
</many-to-one>
- <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`price`"/>
+ <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`price`"/>
</property>
<property name="createdOn" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
<column not-null="true" unique="false" name="`createdon`"/>
@@ -46,15 +48,17 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="suppliertypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`noofemployees`"/>
+ <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`noofemployees`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" discriminator-value="ClassificationType" table="`classificationtype`">
@@ -64,12 +68,14 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="classificationtypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <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>
</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.sample/ProductAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_e_o_hibernate.hbm.xml
index d155245b3..7d7b2871f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_e_o_hibernate.hbm.xml
@@ -11,14 +11,14 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`code`"/>
+ <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>
<many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_supplier" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/>
</many-to-one>
- <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`price`"/>
+ <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`price`"/>
</property>
<property name="createdOn" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
<column not-null="true" unique="false" name="`createdon`"/>
@@ -51,8 +51,8 @@
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`noofemployees`"/>
+ <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`noofemployees`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" table="`classificationtype`">
@@ -65,8 +65,8 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <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>
</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.sample/ProductAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_s_o_hibernate.hbm.xml
index d155245b3..7d7b2871f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ProductAction_mysql_s_o_hibernate.hbm.xml
@@ -11,14 +11,14 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="code" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`code`"/>
+ <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>
<many-to-one name="supplier" entity-name="SupplierType" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="producttype_supplier" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`suppliertype_supplier_e_id`"/>
</many-to-one>
- <property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="double">
- <column not-null="true" unique="false" name="`price`"/>
+ <property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
+ <column not-null="false" unique="false" name="`price`"/>
</property>
<property name="createdOn" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
<column not-null="true" unique="false" name="`createdon`"/>
@@ -51,8 +51,8 @@
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`noofemployees`"/>
+ <property name="noOfEmployees" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`noofemployees`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ClassificationTypeImpl" entity-name="ClassificationType" abstract="false" lazy="false" table="`classificationtype`">
@@ -65,8 +65,8 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
+ <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>
</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.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml
index b82abca6c..99a02172c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml
@@ -16,7 +16,9 @@
<id name="description" type="java.lang.String">
<column not-null="true" unique="false" name="`description`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="rentalunitdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -43,7 +45,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="currencydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="rentalcontractdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -80,11 +86,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
@@ -104,7 +110,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="manufacturerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml
index 412e2a2d1..f0dc42bea 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_e_o_hibernate.hbm.xml
@@ -26,8 +26,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="type" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`type`"/>
+ <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`type`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param>
<param name="eclassifier">RentalBicycleType</param>
@@ -58,8 +58,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="size" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`size`"/>
+ <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`size`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param>
<param name="eclassifier">RentalCarSize</param>
@@ -83,11 +83,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml
index 412e2a2d1..f0dc42bea 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml
@@ -26,8 +26,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="type" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`type`"/>
+ <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`type`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param>
<param name="eclassifier">RentalBicycleType</param>
@@ -58,8 +58,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="size" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`size`"/>
+ <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`size`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param>
<param name="eclassifier">RentalCarSize</param>
@@ -83,11 +83,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml
index 55ff62063..a0bf05b2c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_a_o_hibernate.hbm.xml
@@ -16,7 +16,9 @@
<id name="description" type="java.lang.String">
<column not-null="true" unique="false" name="`description`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="rentalunitdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -43,7 +45,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="currencydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="rentalcontractdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -80,11 +86,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
@@ -104,7 +110,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="manufacturerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml
index d9240bdc5..fea5ea012 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_e_o_hibernate.hbm.xml
@@ -26,8 +26,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="type" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`type`"/>
+ <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`type`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param>
<param name="eclassifier">RentalBicycleType</param>
@@ -58,8 +58,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="size" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`size`"/>
+ <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`size`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param>
<param name="eclassifier">RentalCarSize</param>
@@ -83,11 +83,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml
index d9240bdc5..fea5ea012 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalResourceReferenceAction_mysql_s_o_hibernate.hbm.xml
@@ -26,8 +26,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="type" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`type`"/>
+ <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`type`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param>
<param name="eclassifier">RentalBicycleType</param>
@@ -58,8 +58,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="size" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`size`"/>
+ <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`size`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param>
<param name="eclassifier">RentalCarSize</param>
@@ -83,11 +83,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml
index 91594c33e..307c91511 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_a_o_hibernate.hbm.xml
@@ -12,15 +12,17 @@
<id name="title" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
@@ -41,7 +43,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="librarydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="writerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_e_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml
index 8d0c8460c..e107b7785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleLibraryResourceAction_mysql_s_o_hibernate.hbm.xml
@@ -15,11 +15,11 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="pages" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`pages`"/>
+ <property name="pages" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`pages`"/>
</property>
- <property name="category" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`category`"/>
+ <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.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
<param name="eclassifier">BookCategory</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml
index 55ff62063..a0bf05b2c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_a_o_hibernate.hbm.xml
@@ -16,7 +16,9 @@
<id name="description" type="java.lang.String">
<column not-null="true" unique="false" name="`description`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="rentalunitdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -43,7 +45,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="currencydtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -70,7 +74,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="rentalcontractdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -80,11 +86,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
@@ -104,7 +110,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="manufacturerdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml
index d9240bdc5..fea5ea012 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_e_o_hibernate.hbm.xml
@@ -26,8 +26,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="type" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`type`"/>
+ <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`type`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param>
<param name="eclassifier">RentalBicycleType</param>
@@ -58,8 +58,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="size" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`size`"/>
+ <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`size`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param>
<param name="eclassifier">RentalCarSize</param>
@@ -83,11 +83,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml
index d9240bdc5..fea5ea012 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SimpleRentalAction_mysql_s_o_hibernate.hbm.xml
@@ -26,8 +26,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="type" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`type`"/>
+ <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`type`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param>
<param name="eclassifier">RentalBicycleType</param>
@@ -58,8 +58,8 @@
<key>
<column name="`rentalunit_description`"/>
</key>
- <property name="size" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`size`"/>
+ <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`size`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.rental.RentalCarSize</param>
<param name="eclassifier">RentalCarSize</param>
@@ -83,11 +83,11 @@
<property name="startDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
<column not-null="true" unique="false" name="`startdate`"/>
</property>
- <property name="endDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp">
- <column not-null="true" unique="false" name="`enddate`"/>
+ <property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
+ <column not-null="false" unique="false" name="`enddate`"/>
</property>
- <property name="cost" lazy="false" insert="true" update="true" not-null="true" unique="false" type="float">
- <column not-null="true" unique="false" name="`cost`"/>
+ <property name="cost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
+ <column not-null="false" unique="false" name="`cost`"/>
</property>
<list name="rentalUnits" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true" foreign-key="rentalcontract_rentalunits">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml
index e75b2efb6..9065f62b7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_a_o_hibernate.hbm.xml
@@ -17,7 +17,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="authorstypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -36,7 +38,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="bookstypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -55,15 +59,17 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="booktypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="iSBN" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long">
- <column not-null="true" unique="false" name="`isbn`"/>
+ <property name="iSBN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
+ <column not-null="false" unique="false" name="`isbn`"/>
</property>
<property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`price`"/>
@@ -80,8 +86,8 @@
<property name="publicationDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
<column not-null="true" unique="false" name="`publicationdate`"/>
</property>
- <property name="bookCategory" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`bookcategory`"/>
+ <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`bookcategory`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param>
<param name="eclassifier">BookCategoryType1</param>
@@ -99,7 +105,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="collectiontypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
@@ -114,7 +122,9 @@
<meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="promotiontypedtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml
index 42558beab..70568c027 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_e_o_hibernate.hbm.xml
@@ -59,8 +59,8 @@
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="iSBN" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long">
- <column not-null="true" unique="false" name="`isbn`"/>
+ <property name="iSBN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
+ <column not-null="false" unique="false" name="`isbn`"/>
</property>
<property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`price`"/>
@@ -77,8 +77,8 @@
<property name="publicationDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
<column not-null="true" unique="false" name="`publicationdate`"/>
</property>
- <property name="bookCategory" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`bookcategory`"/>
+ <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`bookcategory`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param>
<param name="eclassifier">BookCategoryType1</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml
index 42558beab..70568c027 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/SunBooksAction_mysql_s_o_hibernate.hbm.xml
@@ -59,8 +59,8 @@
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="iSBN" lazy="false" insert="true" update="true" not-null="true" unique="false" type="long">
- <column not-null="true" unique="false" name="`isbn`"/>
+ <property name="iSBN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
+ <column not-null="false" unique="false" name="`isbn`"/>
</property>
<property name="price" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`price`"/>
@@ -77,8 +77,8 @@
<property name="publicationDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
<column not-null="true" unique="false" name="`publicationdate`"/>
</property>
- <property name="bookCategory" lazy="false" not-null="true" insert="true" update="true" unique="false">
- <column not-null="true" unique="false" name="`bookcategory`"/>
+ <property name="bookCategory" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`bookcategory`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param>
<param name="eclassifier">BookCategoryType1</param>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml
index 75aabab4b..9562f4eea 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/WorkFlowAction_mysql_a_o_hibernate.hbm.xml
@@ -8,7 +8,9 @@
<id name="id" type="java.lang.String">
<column not-null="true" unique="false" name="`id`"/>
</id>
- <discriminator column="`dtype`" type="string"/>
+ <discriminator type="string">
+ <column name="dtype" index="workflowelementdtype" length="255" not-null="true"/>
+ </discriminator>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>

Back to the top