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.hibernate.test.emf.annotations/UserTypeAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_hsqldb_h_o_hibernate.hbm.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_hsqldb_h_o_hibernate.hbm.xml
index c26769951..453ee4431 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_hsqldb_h_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_hsqldb_h_o_hibernate.hbm.xml
@@ -54,6 +54,22 @@
<param name="edatatype">myDoubleType</param>
</type>
</property>
+ <property name="certificate" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`CERT_NAME`"/>
+ <column not-null="false" unique="false" name="`CERT_LENGTH`"/>
+ <type name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CertificateType"/>
+ </property>
+ <list name="certificates" lazy="true" cascade="persist,merge,refresh,save-update,lock">
+ <key update="true">
+ <column name="`PERSON_CERTIFICATES_E_ID`" unique="false"/>
+ </key>
+ <list-index column="`PERSON_CERTIFICATES_IDX`"/>
+ <element not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`CERT_NAME`"/>
+ <column not-null="false" unique="false" name="`CERT_LENGTH`"/>
+ <type name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CertificateType"/>
+ </element>
+ </list>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`ADDRESS`">
<meta attribute="eclassName" inherit="false">Address</meta>

Back to the top