diff options
author | mtaal | 2008-06-10 06:44:55 +0000 |
---|---|---|
committer | mtaal | 2008-06-10 06:44:55 +0000 |
commit | 93da149e30521b280c4aaaef3243c7e9a2549844 (patch) | |
tree | 633bdf09b534c242c84754da2717e51771ef2bf6 /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations | |
parent | 21bebcca52f01731ee6ce7f2763a7dc041b50d2d (diff) | |
download | org.eclipse.emf.teneo-93da149e30521b280c4aaaef3243c7e9a2549844.tar.gz org.eclipse.emf.teneo-93da149e30521b280c4aaaef3243c7e9a2549844.tar.xz org.eclipse.emf.teneo-93da149e30521b280c4aaaef3243c7e9a2549844.zip |
[235945]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations')
3 files changed, 96 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_a_o_hibernate.hbm.xml new file mode 100644 index 000000000..61e0ac07a --- /dev/null +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_a_o_hibernate.hbm.xml @@ -0,0 +1,32 @@ +<?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"> + +<hibernate-mapping auto-import="false"> + <class name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperImpl" entity-name="Super" abstract="false" lazy="false" discriminator-value="80248667" table="`super_table`"> + <meta attribute="eclassName">Super</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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="`disc`" type="integer"/> + <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" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> + <column not-null="true" unique="false" name="`name`"/> + </property> + </class> + <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubImpl" entity-name="Sub" abstract="false" lazy="false" extends="Super" discriminator-value="83488"> + <meta attribute="eclassName">Sub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> + <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.OtherSubImpl" entity-name="OtherSub" abstract="false" lazy="false" extends="Super" discriminator-value="500"> + <meta attribute="eclassName">OtherSub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> + <subclass entity-name="AbstractSub" abstract="true" lazy="false" extends="Super" discriminator-value="950694558"> + <meta attribute="eclassName">AbstractSub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> +</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_e_o_hibernate.hbm.xml new file mode 100644 index 000000000..61e0ac07a --- /dev/null +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_e_o_hibernate.hbm.xml @@ -0,0 +1,32 @@ +<?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"> + +<hibernate-mapping auto-import="false"> + <class name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperImpl" entity-name="Super" abstract="false" lazy="false" discriminator-value="80248667" table="`super_table`"> + <meta attribute="eclassName">Super</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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="`disc`" type="integer"/> + <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" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> + <column not-null="true" unique="false" name="`name`"/> + </property> + </class> + <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubImpl" entity-name="Sub" abstract="false" lazy="false" extends="Super" discriminator-value="83488"> + <meta attribute="eclassName">Sub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> + <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.OtherSubImpl" entity-name="OtherSub" abstract="false" lazy="false" extends="Super" discriminator-value="500"> + <meta attribute="eclassName">OtherSub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> + <subclass entity-name="AbstractSub" abstract="true" lazy="false" extends="Super" discriminator-value="950694558"> + <meta attribute="eclassName">AbstractSub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> +</hibernate-mapping>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_s_o_hibernate.hbm.xml new file mode 100644 index 000000000..61e0ac07a --- /dev/null +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IntegerDiscriminatorAction_mysql_s_o_hibernate.hbm.xml @@ -0,0 +1,32 @@ +<?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"> + +<hibernate-mapping auto-import="false"> + <class name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SuperImpl" entity-name="Super" abstract="false" lazy="false" discriminator-value="80248667" table="`super_table`"> + <meta attribute="eclassName">Super</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</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="`disc`" type="integer"/> + <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" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String"> + <column not-null="true" unique="false" name="`name`"/> + </property> + </class> + <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.SubImpl" entity-name="Sub" abstract="false" lazy="false" extends="Super" discriminator-value="83488"> + <meta attribute="eclassName">Sub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> + <subclass name="org.eclipse.emf.teneo.samples.emf.annotations.integerdiscriminator.impl.OtherSubImpl" entity-name="OtherSub" abstract="false" lazy="false" extends="Super" discriminator-value="500"> + <meta attribute="eclassName">OtherSub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> + <subclass entity-name="AbstractSub" abstract="true" lazy="false" extends="Super" discriminator-value="950694558"> + <meta attribute="eclassName">AbstractSub</meta> + <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator</meta> + </subclass> +</hibernate-mapping>
\ No newline at end of file |