Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 14:10:14 -0400
committerMartin Taal2011-11-01 14:10:14 -0400
commit709ec105b89258b5e6b27e57cb3deb177529c54c (patch)
tree436b7b45306590da29d24dfa9b6ad252c2a987d1 /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml
parent0298896cf5731abb5e728ca6997fd2410d0a8f0f (diff)
downloadorg.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.gz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.xz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.zip
Remove everything for restructuring
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml96
1 files changed, 0 insertions, 96 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml
deleted file mode 100644
index bc9798973..000000000
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_s_o_hibernate.hbm.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-<?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">
- <typedef name="nameType" class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType"/>
- <typedef name="usertype.PhoneNumber" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
- <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param>
- <param name="edatatype">PhoneNumber</param>
- </typedef>
- <typedef name="intArrayType" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
- <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param>
- <param name="edatatype">IntArray</param>
- </typedef>
- <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" polymorphism="explicit" optimistic-lock="version" dynamic-insert="true" dynamic-update="true" select-before-update="true" persister="org.hibernate.persister.entity.SingleTableEntityPersister" table="`person`">
- <meta attribute="eclassName">Person</meta>
- <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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>
- <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="nameType">
- <column not-null="false" unique="false" name="`first_name`"/>
- <column not-null="false" unique="false" name="`last_name`"/>
- </property>
- <property name="numbers" lazy="false" insert="true" update="true" not-null="true" unique="false" type="intArrayType">
- <column not-null="true" unique="false" name="`numbers`"/>
- </property>
- <list name="phoneNumbers" table="`person_phonenumbers`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`person_phonenumbers_e_id`" not-null="true" unique="false"/>
- </key>
- <list-index column="`person_phonenumbers_idx`"/>
- <element type="usertype.PhoneNumber"/>
- </list>
- <property name="emergencyContact" lazy="false" insert="true" update="true" not-null="false" unique="false" type="usertype.PhoneNumber">
- <column not-null="false" unique="false" name="`emergencycontact`"/>
- </property>
- <bag name="addresses" lazy="true" cascade="merge,persist,save-update,lock,refresh">
- <key update="true">
- <column name="`address_person_e_id`" not-null="false" unique="false"/>
- </key>
- <one-to-many entity-name="Address"/>
- </bag>
- <property name="birthPlace" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`birthplace`"/>
- </property>
- <property name="double" lazy="false" insert="true" update="true" not-null="true" unique="false">
- <column not-null="true" unique="false" name="`double`"/>
- <type name="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
- <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param>
- <param name="edatatype">myDoubleType</param>
- </type>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" table="`address`">
- <meta attribute="eclassName">Address</meta>
- <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</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>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <property name="addressInfo" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`addressinfo`"/>
- </property>
- <many-to-one name="person" entity-name="Person" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="address_person" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`address_person_e_id`"/>
- </many-to-one>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl.CityImpl" entity-name="City" abstract="false" lazy="false" table="`city`">
- <meta attribute="eclassName">City</meta>
- <meta attribute="epackage">http://www.elver.org/samples/emf/hibernate/usertype</meta>
- <id name="id" type="long" unsaved-value="0">
- <column not-null="true" unique="false" name="`id`"/>
- <generator class="assigned"/>
- </id>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <property name="size" lazy="false" not-null="false" insert="true" update="true" unique="false">
- <column not-null="false" unique="false" name="`size`"/>
- <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
- <param name="enumClass">org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CitySize</param>
- <param name="eclassifier">CitySize</param>
- <param name="epackage">http://www.elver.org/samples/emf/hibernate/usertype</param>
- </type>
- </property>
- </class>
- <query name="getPersonByBirthPlace2"><![CDATA[select p from Person p where p.birthPlace=?]]></query>
- <query name="getPersonByBirthPlace"><![CDATA[select p from Person p where p.birthPlace=?]]></query>
-</hibernate-mapping> \ No newline at end of file

Back to the top