Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2010-06-03 10:06:56 -0400
committermtaal2010-06-03 10:06:56 -0400
commitdc9dd35058b27a0af29c265144092f4df4b16cdb (patch)
tree04eb7de5940bb1f212bbbc28ef9031faf7e97e00
parentbf3eef366ee80a277d6a9ad452d889c392611f92 (diff)
downloadorg.eclipse.emf.teneo-dc9dd35058b27a0af29c265144092f4df4b16cdb.tar.gz
org.eclipse.emf.teneo-dc9dd35058b27a0af29c265144092f4df4b16cdb.tar.xz
org.eclipse.emf.teneo-dc9dd35058b27a0af29c265144092f4df4b16cdb.zip
Solved issue with version tag generated while HbEntity annotation set optimistic lock to none
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/.classpath2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/build.properties38
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/plugin.xml26
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/UserTypeAction.java5
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/Person.java8
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/PersonImpl.java6
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java3
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypePackageImpl.java27
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/usertype.ecore2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeAdapterFactory.java3
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeSwitch.java5
11 files changed, 60 insertions, 65 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/.classpath b/tests/org.eclipse.emf.teneo.hibernate.test/.classpath
index 64c5e31b7..304e86186 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/.classpath
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
+ <classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/build.properties b/tests/org.eclipse.emf.teneo.hibernate.test/build.properties
index 24fceb205..95553c0e6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/build.properties
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/build.properties
@@ -1,42 +1,14 @@
+
# <copyright>
# </copyright>
#
-# $Id: build.properties,v 1.28 2010/02/06 16:41:51 mtaal Exp $
+# $Id: build.properties,v 1.29 2010/06/03 14:06:56 mtaal Exp $
bin.includes = .,\
+ model/,\
META-INF/,\
- plugin.properties,\
- src/dbadapters.properties,\
- hbm/,\
- test.xml,\
- src/org/eclipse/emf/teneo/hibernate/test/emf/test.hbm.xml,\
- src/org/eclipse/emf/teneo/hibernate/test/test.persistence.xml,\
- src/org/eclipse/emf/teneo/hibernate/test/emf/test2.hbm.xml,\
- src/org/eclipse/emf/teneo/hibernate/test/ops_persistence.xml,\
- src/tmp_hibernate.properties,\
- src/local_test.properties,\
- src/hudson_test.properties,\
- src/org/eclipse/emf/teneo/hibernate/test/issues/documentrootexp_2.xsd,\
- src/org/eclipse/emf/teneo/hibernate/test/issues/xx301.xsd,\
- AllTests.launch,\
- about.html,\
- about.ini,\
- about.properties,\
- copyright.txt,\
- epl-v10.html,\
- license.html,\
- modeling32.png
+ plugin.xml,\
+ plugin.properties
jars.compile.order = .
source.. = src/
output.. = bin/
-javacSource=1.5
-javacTarget=1.5
-src.includes = hbm/,\
- src/org/eclipse/emf/teneo/hibernate/test/emf/test.hbm.xml,\
- about.html,\
- about.ini,\
- about.properties,\
- copyright.txt,\
- epl-v10.html,\
- license.html,\
- modeling32.png
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/plugin.xml b/tests/org.eclipse.emf.teneo.hibernate.test/plugin.xml
new file mode 100644
index 000000000..d6621d2f9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/plugin.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id: plugin.xml,v 1.3 2010/06/03 14:06:56 mtaal Exp $
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.elver.org/samples/emf/hibernate/usertype"
+ class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage"
+ genModel="src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/model/UserType.genmodel"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ type="usertype"
+ class="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.util.UsertypeResourceFactoryImpl"/>
+ </extension>
+
+</plugin>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/UserTypeAction.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/UserTypeAction.java
index 26179cc4d..ed86cb55c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/UserTypeAction.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/UserTypeAction.java
@@ -8,7 +8,7 @@
* http://www.eclipse.org/legal/epl-v10.html
* </copyright>
*
- * $Id: UserTypeAction.java,v 1.14 2010/02/06 20:50:47 mtaal Exp $
+ * $Id: UserTypeAction.java,v 1.15 2010/06/03 14:06:56 mtaal Exp $
*/
package org.eclipse.emf.teneo.hibernate.test.emf.annotations;
@@ -37,7 +37,7 @@ import org.hibernate.Query;
/**
* Test
*
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
*/
public class UserTypeAction extends AbstractTestAction {
@@ -58,6 +58,7 @@ public class UserTypeAction extends AbstractTestAction {
@Override
public void doAction(TestStore store) {
+ System.err.println(store.getMappingXML());
storePerson(store);
testPerson(store);
testDatabase(store);
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/Person.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/Person.java
index 2164367a0..d9c8edc0b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/Person.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/Person.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Person.java,v 1.9 2010/02/06 20:50:47 mtaal Exp $
+ * $Id: Person.java,v 1.10 2010/06/03 14:06:56 mtaal Exp $
*/
package org.eclipse.emf.teneo.samples.emf.hibernate.usertype;
@@ -29,7 +29,7 @@ import org.eclipse.emf.ecore.EObject;
*
* @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson()
* @model extendedMetaData="name='Person' kind='elementOnly'"
- * annotation="teneo.hibernate appinfo='@NamedQuery(name=\"getPersonByBirthPlace\" query=\"select p from Person p where p.birthPlace=?\")\n@HbEntity(dynamicInsert=true, dynamicUpdate=true, mutable=true, selectBeforeUpdate=true, persister=\"org.hibernate.persister.entity.SingleTableEntityPersister\", optimisticLock=VERSION, polymorphism=EXPLICIT)'"
+ * annotation="teneo.hibernate appinfo='@NamedQuery(name=\"getPersonByBirthPlace\" query=\"select p from Person p where p.birthPlace=?\")\n@HbEntity(dynamicInsert=true, dynamicUpdate=true, mutable=true, selectBeforeUpdate=true, persister=\"org.hibernate.persister.entity.SingleTableEntityPersister\", optimisticLock=NONE, polymorphism=EXPLICIT)'"
* @generated
*/
public interface Person extends EObject {
@@ -101,7 +101,7 @@ public interface Person extends EObject {
* @model dataType="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.PhoneNumber" upper="100"
* @generated
*/
- EList<Object> getPhoneNumbers();
+ EList getPhoneNumbers();
/**
* Returns the value of the '<em><b>Emergency Contact</b></em>' attribute.
@@ -147,7 +147,7 @@ public interface Person extends EObject {
* annotation="teneo.jpa appinfo='@OnDelete(action=OnDeleteAction.CASCADE)\n@OneToMany(indexed=false, unique=true)'"
* @generated
*/
- EList<Object> getAddresses();
+ EList getAddresses();
/**
* Returns the value of the '<em><b>Birth Place</b></em>' attribute.
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/PersonImpl.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/PersonImpl.java
index 30760dd2c..096c45843 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/PersonImpl.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/PersonImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: PersonImpl.java,v 1.11 2010/02/06 20:50:47 mtaal Exp $
+ * $Id: PersonImpl.java,v 1.12 2010/06/03 14:06:56 mtaal Exp $
*/
package org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl;
@@ -231,9 +231,9 @@ public class PersonImpl extends EObjectImpl implements Person {
* <!-- end-user-doc -->
* @generated
*/
- public EList<Object> getPhoneNumbers() {
+ public EList getPhoneNumbers() {
if (phoneNumbers == null) {
- phoneNumbers = new EDataTypeUniqueEList<Object>(UsaPhoneNumber.class, this, UsertypePackage.PERSON__PHONE_NUMBERS);
+ phoneNumbers = new EDataTypeUniqueEList(UsaPhoneNumber.class, this, UsertypePackage.PERSON__PHONE_NUMBERS);
}
return phoneNumbers;
}
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java
index 23144f48c..d9184422c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: UsertypeFactoryImpl.java,v 1.8 2010/02/06 20:50:47 mtaal Exp $
+ * $Id: UsertypeFactoryImpl.java,v 1.9 2010/06/03 14:06:56 mtaal Exp $
*/
package org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl;
@@ -12,6 +12,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.*;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Address;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.City;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.CitySize;
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypePackageImpl.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypePackageImpl.java
index 7681fcd8a..70f3edbb5 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypePackageImpl.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypePackageImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: UsertypePackageImpl.java,v 1.12 2010/02/06 20:50:47 mtaal Exp $
+ * $Id: UsertypePackageImpl.java,v 1.13 2010/06/03 14:06:56 mtaal Exp $
*/
package org.eclipse.emf.teneo.samples.emf.hibernate.usertype.impl;
@@ -112,20 +112,10 @@ public class UsertypePackageImpl extends EPackageImpl implements UsertypePackage
private static boolean isInited = false;
/**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link UsertypePackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #eNS_URI
@@ -137,7 +127,7 @@ public class UsertypePackageImpl extends EPackageImpl implements UsertypePackage
if (isInited) return (UsertypePackage)EPackage.Registry.INSTANCE.getEPackage(UsertypePackage.eNS_URI);
// Obtain or create and register package
- UsertypePackageImpl theUsertypePackage = (UsertypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof UsertypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new UsertypePackageImpl());
+ UsertypePackageImpl theUsertypePackage = (UsertypePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UsertypePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UsertypePackageImpl());
isInited = true;
@@ -150,6 +140,9 @@ public class UsertypePackageImpl extends EPackageImpl implements UsertypePackage
// Mark meta-data to indicate it can't be changed
theUsertypePackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(UsertypePackage.eNS_URI, theUsertypePackage);
return theUsertypePackage;
}
@@ -464,7 +457,7 @@ public class UsertypePackageImpl extends EPackageImpl implements UsertypePackage
(personEClass,
source,
new String[] {
- "appinfo", "@NamedQuery(name=\"getPersonByBirthPlace\" query=\"select p from Person p where p.birthPlace=?\")\n@HbEntity(dynamicInsert=true, dynamicUpdate=true, mutable=true, selectBeforeUpdate=true, persister=\"org.hibernate.persister.entity.SingleTableEntityPersister\", optimisticLock=VERSION, polymorphism=EXPLICIT)"
+ "appinfo", "@NamedQuery(name=\"getPersonByBirthPlace\" query=\"select p from Person p where p.birthPlace=?\")\n@HbEntity(dynamicInsert=true, dynamicUpdate=true, mutable=true, selectBeforeUpdate=true, persister=\"org.hibernate.persister.entity.SingleTableEntityPersister\", optimisticLock=NONE, polymorphism=EXPLICIT)"
});
}
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 f942b141b..3447dbd31 100644
--- 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
@@ -20,7 +20,7 @@
<details key="kind" value="elementOnly"/>
</eAnnotations>
<eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="@NamedQuery(name=&quot;getPersonByBirthPlace&quot; query=&quot;select p from Person p where p.birthPlace=?&quot;)&#xA;@HbEntity(dynamicInsert=true, dynamicUpdate=true, mutable=true, selectBeforeUpdate=true, persister=&quot;org.hibernate.persister.entity.SingleTableEntityPersister&quot;, optimisticLock=VERSION, polymorphism=EXPLICIT)"/>
+ <details key="appinfo" value="@NamedQuery(name=&quot;getPersonByBirthPlace&quot; query=&quot;select p from Person p where p.birthPlace=?&quot;)&#xA;@HbEntity(dynamicInsert=true, dynamicUpdate=true, mutable=true, selectBeforeUpdate=true, persister=&quot;org.hibernate.persister.entity.SingleTableEntityPersister&quot;, optimisticLock=NONE, polymorphism=EXPLICIT)"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
eType="#//Name">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeAdapterFactory.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeAdapterFactory.java
index 65e89db34..25d16ab75 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeAdapterFactory.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeAdapterFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: UsertypeAdapterFactory.java,v 1.7 2010/02/06 20:50:46 mtaal Exp $
+ * $Id: UsertypeAdapterFactory.java,v 1.8 2010/06/03 14:06:56 mtaal Exp $
*/
package org.eclipse.emf.teneo.samples.emf.hibernate.usertype.util;
@@ -10,6 +10,7 @@ import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.*;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Address;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.City;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person;
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeSwitch.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeSwitch.java
index 2e68b4d05..63ab25666 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeSwitch.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/util/UsertypeSwitch.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: UsertypeSwitch.java,v 1.7 2010/02/06 20:50:46 mtaal Exp $
+ * $Id: UsertypeSwitch.java,v 1.8 2010/06/03 14:06:56 mtaal Exp $
*/
package org.eclipse.emf.teneo.samples.emf.hibernate.usertype.util;
@@ -10,6 +10,7 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.*;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Address;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.City;
import org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person;
@@ -72,7 +73,7 @@ public class UsertypeSwitch {
return doSwitch(theEClass.getClassifierID(), theEObject);
}
else {
- List<?> eSuperTypes = theEClass.getESuperTypes();
+ List eSuperTypes = theEClass.getESuperTypes();
return
eSuperTypes.isEmpty() ?
defaultCase(theEObject) :

Back to the top