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/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml')
-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
1 files changed, 16 insertions, 8 deletions
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>

Back to the top