|
|
|
Re: teneo - when will EMF2.3 (i.e., the Java 5.0 features) be supported? [message #69638 is a reply to message #64680] |
Wed, 31 January 2007 00:19 |
Eclipse User |
|
|
|
Originally posted by: salvatore.it.ibm.com
Hi Martin, do you have any news on this subject?
I am trying to use the latest TENEO's build with EMF 2.3. I encountered a
problem when saving an EObject that contains an enumeration. Here follows
the stack trace:
java.lang.ClassCastException: com.ibm.casrome.hyper.odmdl.Type
at
org.eclipse.emf.teneo.hibernate.mapping.ENumUserType.equals( ENumUserType.java:98)
at org.hibernate.type.CustomType.isEqual(CustomType.java:86)
at org.hibernate.type.CustomType.isEqual(CustomType.java:91)
at org.hibernate.type.AbstractType.isSame(AbstractType.java:104 )
at org.hibernate.type.AbstractType.isDirty(AbstractType.java:70 )
at org.hibernate.type.CustomType.isDirty(CustomType.java:235)
at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:56 3)
at
org.hibernate.persister.entity.AbstractEntityPersister.findD irty(AbstractEntityPersister.java:3117)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.dirt yCheck(DefaultFlushEntityEventListener.java:472)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.isUp dateNecessary(DefaultFlushEntityEventListener.java:197)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.onFl ushEntity(DefaultFlushEntityEventListener.java:120)
at
org.hibernate.event.def.AbstractFlushingEventListener.flushE ntities(AbstractFlushingEventListener.java:196)
at
org.hibernate.event.def.AbstractFlushingEventListener.flushE verythingToExecutions(AbstractFlushingEventListener.java:76)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(De faultFlushEventListener.java:26)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java :338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransac tion.java:106)
at
com.ibm.casrome.hyper.odmdl.persistence.teneo.TeneoPersisten ceTest.testCreate2(TeneoPersistenceTest.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestRefer ence.run(JUnit3TestReference.java:128)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(Test Execution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( RemoteTestRunner.java:196)
Thanks
Dino
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04283 seconds