diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_hsqldb_x_o_hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_hsqldb_x_o_hibernate.hbm.xml | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_hsqldb_x_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_hsqldb_x_o_hibernate.hbm.xml index 91dce93cb..4d329cd68 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_hsqldb_x_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/LobAction_hsqldb_x_o_hibernate.hbm.xml @@ -27,6 +27,15 @@ <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> </property> + <list name="texts" table="`PERSON_TEXTS`" lazy="true" cascade="all"> + <key update="true"> + <column name="`PERSON_TEXTS_E_ID`" unique="false"/> + </key> + <list-index column="`PERSON_TEXTS_IDX`"/> + <element not-null="false" unique="false" type="text"> + <column not-null="false" unique="false" name="`TEXTS`" length="10000"/> + </element> + </list> </class> <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TeneoAuditEntry" abstract="false" lazy="false" discriminator-value="TeneoAuditEntry" table="`TENEOAUDITENTRY`"> <meta attribute="eclassName" inherit="false">TeneoAuditEntry</meta> @@ -115,15 +124,20 @@ <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> - <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="text"> <column not-null="false" unique="false" name="`ADDRESS`"/> </property> - <array name="photo" table="`PERSONAUDITING_PHOTOAUDITING`" cascade="all"> + <property name="photo" lazy="false" insert="true" update="true" not-null="false" unique="false" type="binary"> + <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/> + </property> + <list name="texts" table="`PERSONAUDITING_TEXTSAUDITING`" lazy="true" cascade="all"> <key update="true"> - <column name="`PERSONAUDITING_PHOTO_E_ID`" unique="false"/> + <column name="`PERSONAUDITING_TEXTS_E_ID`" unique="false"/> </key> - <list-index column="`PERSONAUDITING_PHOTO_IDX`"/> - <element type="byte"/> - </array> + <list-index column="`PERSONAUDITING_TEXTS_IDX`"/> + <element not-null="false" unique="false" type="text"> + <column not-null="false" unique="false" name="`TEXTS`" length="10000"/> + </element> + </list> </subclass> </hibernate-mapping>
\ No newline at end of file |