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.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml20
1 files changed, 11 insertions, 9 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml
index 7c226c538..9d681771f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/EmbeddedAction_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="embedderdtype" 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>
@@ -17,15 +19,15 @@
<property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`columnstring3`"/>
</property>
- <property name="myInteger" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`firstembedded_myinteger`"/>
+ <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`firstembedded_myinteger`"/>
</property>
</component>
<component name="secondEmbedded" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.EmbeddableImpl">
<property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`columnstring1`"/>
</property>
- <property name="myInteger" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
+ <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`columninteger1`"/>
</property>
</component>
@@ -33,7 +35,7 @@
<property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`columnstring2`"/>
</property>
- <property name="myInteger" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
+ <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`columninteger2`"/>
</property>
</component>
@@ -46,8 +48,8 @@
<property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`mystring`"/>
</property>
- <property name="myInteger" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`myinteger`"/>
+ <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`myinteger`"/>
</property>
</composite-element>
</list>
@@ -55,8 +57,8 @@
<property name="myString" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`fifthembedded_mystring`"/>
</property>
- <property name="myInteger" lazy="false" insert="true" update="true" not-null="true" unique="false" type="int">
- <column not-null="true" unique="false" name="`fifthembedded_myinteger`"/>
+ <property name="myInteger" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
+ <column not-null="false" unique="false" name="`fifthembedded_myinteger`"/>
</property>
</component>
<component name="alsoEmbeddable" class="org.eclipse.emf.teneo.samples.emf.annotations.embedded.impl.AlsoEmbeddableImpl">

Back to the top