diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/usertype.ecore')
-rwxr-xr-x | tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/usertype.ecore | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/usertype.ecore b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/usertype.ecore index bc98e838c..ed6acade8 100755 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/usertype.ecore +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/usertype.ecore @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<ecore:EPackage xmi:version="2.0" - xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="usertype" - nsURI="http://www.elver.org/samples/emf/hibernate/usertype" nsPrefix="usertype"> +<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="usertype" nsURI="http://www.elver.org/samples/emf/hibernate/usertype" + nsPrefix="usertype"> <eAnnotations source="teneo.hibernate"> <details key="appinfo" value="						@NamedQuery(name="getPersonByBirthPlace2" query="select p from Person p where p.birthPlace=?")
					"/> </eAnnotations> @@ -57,7 +56,10 @@ </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" name="certificate" eType="#//Certificate"> <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Columns({@Column(name="cert_name"), @Column(name="cert_length")})
					"/> + <details key="appinfo" value="@Columns({@Column(name="cert_name"), @Column(name="cert_length")})		"/> + </eAnnotations> + <eAnnotations source="teneo.jpa.auditing"> + <details key="appinfo" value="@Columns({@Column(name="cert_name"), @Column(name="cert_length")})		"/> </eAnnotations> </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" name="certificates" upperBound="-1" @@ -65,6 +67,9 @@ <eAnnotations source="teneo.jpa"> <details key="appinfo" value="@Columns({@Column(name="cert_name"), @Column(name="cert_length")})
					"/> </eAnnotations> + <eAnnotations source="teneo.jpa.auditing"> + <details key="appinfo" value="@Columns({@Column(name="cert_name"), @Column(name="cert_length")})
					"/> + </eAnnotations> </eStructuralFeatures> </eClassifiers> <eClassifiers xsi:type="ecore:EDataType" name="PhoneNumber" instanceClassName="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsaPhoneNumber"/> @@ -116,7 +121,10 @@ </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="Certificate"> <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Type(type="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CertificateType")
					"/> + <details key="appinfo" value="@Type(type="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CertificateType")					"/> + </eAnnotations> + <eAnnotations source="teneo.jpa.auditing"> + <details key="appinfo" value="@Type(type="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CertificateType")					"/> </eAnnotations> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> |