Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/ForumAction_mysql_a_o_hibernate.hbm.xml')
-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
1 files changed, 14 insertions, 6 deletions
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>

Back to the top