diff options
author | Martin Taal | 2012-05-18 15:19:37 +0000 |
---|---|---|
committer | Martin Taal | 2012-05-18 15:19:37 +0000 |
commit | b1270299d95d6c529e7adc3935f8ee8f9f271cf9 (patch) | |
tree | c881fde664ba199ceea31844c192c4abcd03d8dd /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/MapKeyColumnAction_hsqldb_h_o_hibernate.hbm.xml | |
parent | 987450df8e8b22bc23f1f37a8fb4741fbcd3c5e6 (diff) | |
download | org.eclipse.emf.teneo-b1270299d95d6c529e7adc3935f8ee8f9f271cf9.tar.gz org.eclipse.emf.teneo-b1270299d95d6c529e7adc3935f8ee8f9f271cf9.tar.xz org.eclipse.emf.teneo-b1270299d95d6c529e7adc3935f8ee8f9f271cf9.zip |
Work for Teneo 2.0 Hibernate 4.1, removed EclipseLink
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/MapKeyColumnAction_hsqldb_h_o_hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/MapKeyColumnAction_hsqldb_h_o_hibernate.hbm.xml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/MapKeyColumnAction_hsqldb_h_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/MapKeyColumnAction_hsqldb_h_o_hibernate.hbm.xml index 461d68f24..5b2d88c49 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/MapKeyColumnAction_hsqldb_h_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.jpa2/MapKeyColumnAction_hsqldb_h_o_hibernate.hbm.xml @@ -48,16 +48,23 @@ <map-key type="timestamp"/> <element type="java.lang.String"/> </map> + <map name="photoParts" table="`PHOTOPARTS_MAP`" lazy="true" cascade="all,delete-orphan"> + <key/> + <map-key-many-to-many entity-name="PhotoPart"> + <column not-null="true" unique="false" name="`PARTS_NAME`"/> + </map-key-many-to-many> + <element type="java.lang.String"/> + </map> </class> - <class name="org.eclipse.emf.teneo.samples.emf.jpa2.maps.impl.PhotoBookImpl" entity-name="PhotoBook" abstract="false" lazy="false" discriminator-value="PhotoBook" table="`PHOTOBOOK`"> - <meta attribute="eclassName" inherit="false">PhotoBook</meta> + <class name="org.eclipse.emf.teneo.samples.emf.jpa2.maps.impl.PhotoPartImpl" entity-name="PhotoPart" abstract="false" lazy="false" discriminator-value="PhotoPart" table="`PHOTOPART`"> + <meta attribute="eclassName" inherit="false">PhotoPart</meta> <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/jpa2/maps</meta> <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> <meta attribute="syntheticId" inherit="false">true</meta> <generator class="native"/> </id> <discriminator type="string"> - <column name="`DTYPE`" index="PHOTOBOOKDTYPE" length="255" not-null="true"/> + <column name="`DTYPE`" index="PHOTOPARTDTYPE" 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" inherit="false">true</meta> |