Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2008-03-30 16:54:58 -0400
committermtaal2008-03-30 16:54:58 -0400
commit1e8a665352e135d9220630b1261dec7925a02dd3 (patch)
tree2f06a27c36c5fe38d9158e2de158a53fb78cee09 /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml
parentf29dd0a0fa669a7da744f7f62c52ff590c0a6bef (diff)
downloadorg.eclipse.emf.teneo-1e8a665352e135d9220630b1261dec7925a02dd3.tar.gz
org.eclipse.emf.teneo-1e8a665352e135d9220630b1261dec7925a02dd3.tar.xz
org.eclipse.emf.teneo-1e8a665352e135d9220630b1261dec7925a02dd3.zip
[224790]
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_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_e_o_hibernate.hbm.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml
index 34462d550..6dea74a74 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.annotations/UserTypeAction_mysql_e_o_hibernate.hbm.xml
@@ -44,6 +44,9 @@
</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>
</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>
@@ -62,4 +65,6 @@
<column not-null="false" unique="false" name="`address_person_e_id`"/>
</many-to-one>
</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