Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml31
1 files changed, 23 insertions, 8 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
index 59ec7f47c..54d9d4de1 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
@@ -1,17 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 25 20:24:08 CEST 2006 -->
+<!-- Generated by Teneo on Sun Nov 12 00:57:26 CET 2006 -->
<hibernate-mapping>
<class entity-name="library.Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
- <id type="long" name="e_id" column="e_id">
+ <meta attribute="eclassName">Book</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
<property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
<property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
- <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false">
+ <property name="category" lazy="false" not-null="false" column="`category`">
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
</type>
@@ -21,11 +26,16 @@
</many-to-one>
</class>
<class entity-name="library.Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
- <id type="long" name="e_id" column="e_id">
+ <meta attribute="eclassName">Library</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
<property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
<list name="writers" lazy="true" cascade="all,delete-orphan">
<key update="true">
@@ -43,11 +53,16 @@
</list>
</class>
<class entity-name="library.Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
- <id type="long" name="e_id" column="e_id">
+ <meta attribute="eclassName">Writer</meta>
+ <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/Library</meta>
+ <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
+ <meta attribute="syntheticId">true</meta>
<generator class="native"/>
</id>
<discriminator column="`dtype`" type="string"/>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
<property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
<list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key update="true">

Back to the top