| teneo - when will EMF2.3 (i.e., the Java 5.0 features) be supported? [message #64657] | 
Sat, 16 December 2006 12:15   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Martin, 
 
I just gave the combination of eclipse 3.3M4 with EMF2.3 a try and I like it -  
particularly the generics based EList removes a lot of the downcasting pain. I  
tried to compile everything with teneo from its CVS head but it failed -  
fortunately not with many problems though. 
 
Do you have already planned to support EMF2.3 somewhere in the near future? 
 
Thanks 
Andre
 |  
 |  
  | 
 | 
 | 
 | 
 | 
 | 
| Re: teneo - when will EMF2.3 (i.e., the Java 5.0 features) be supported? [message #596998 is a reply to message #64657] | 
Mon, 18 December 2006 04:56   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Andre, 
I need to check the changes I need to do to build/test Teneo with 2.3. If the incompatabilities are  
only in certain parts (for example featuremap support) then I will support 2.3 in the near future (I  
hope to do a release next week). 
If there are more differences which make Teneo not-compatible with 2.2 then I might wait a bit  
longer (depends on the release schedule for 2.3). 
 
gr. Martin 
 
Andre Pareis wrote: 
> Hi Martin, 
>  
> I just gave the combination of eclipse 3.3M4 with EMF2.3 a try and I  
> like it - particularly the generics based EList removes a lot of the  
> downcasting pain. I tried to compile everything with teneo from its CVS  
> head but it failed - fortunately not with many problems though. 
>  
> Do you have already planned to support EMF2.3 somewhere in the near future? 
>  
> Thanks 
> Andre 
 
 
--  
 
With Regards, Martin Taal 
 
Springsite/Elver.org 
Office: Hardwareweg 4, 3821 BV Amersfoort 
Postal: Nassaulaan 7, 3941 EC Doorn 
The Netherlands 
Tel: +31 (0)84 420 2397 
Fax: +31 (0)84 225 9307 
Mail: mtaal@springsite.com - mtaal@elver.org 
Web: www.springsite.com - www.elver.org
 |  
 |  
  | 
| Re: teneo - when will EMF2.3 (i.e., the Java 5.0 features) be supported? [message #597116 is a reply to message #64680] | 
Tue, 19 December 2006 14:58   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
That's fine, Martin. The benefit is not overly big 
 
Regards 
Andre 
 
Martin Taal wrote: 
> Hi Andre, 
> I need to check the changes I need to do to build/test Teneo with 2.3.  
> If the incompatabilities are only in certain parts (for example  
> featuremap support) then I will support 2.3 in the near future (I hope  
> to do a release next week). 
> If there are more differences which make Teneo not-compatible with 2.2  
> then I might wait a bit longer (depends on the release schedule for 2.3). 
>  
> gr. Martin 
>  
> Andre Pareis wrote: 
>> Hi Martin, 
>> 
>> I just gave the combination of eclipse 3.3M4 with EMF2.3 a try and I  
>> like it - particularly the generics based EList removes a lot of the  
>> downcasting pain. I tried to compile everything with teneo from its  
>> CVS head but it failed - fortunately not with many problems though. 
>> 
>> Do you have already planned to support EMF2.3 somewhere in the near  
>> future? 
>> 
>> Thanks 
>> Andre 
>  
>
 |  
 |  
  | 
| Re: teneo - when will EMF2.3 (i.e., the Java 5.0 features) be supported? [message #601835 is a reply to message #64680] | 
Tue, 30 January 2007 19:19   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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
 |  
 |  
  | 
| Re: teneo - when will EMF2.3 (i.e., the Java 5.0 features) be supported? [message #601844 is a reply to message #69638] | 
Wed, 31 January 2007 03:43   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Dino, 
I'll add support for emf 2.3 in the coming weeks. I have just added a bugzilla: 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=172278 
 
You can add yourselve to the cc to be kept informed upfront. I'll also post here when it is released. 
 
gr. Martin 
 
Dino wrote: 
> 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 
>  
 
 
--  
 
With Regards, Martin Taal 
 
Springsite/Elver.org 
Office: Hardwareweg 4, 3821 BV Amersfoort 
Postal: Nassaulaan 7, 3941 EC Doorn 
The Netherlands 
Tel: +31 (0)84 420 2397 
Fax: +31 (0)84 225 9307 
Mail: mtaal@springsite.com - mtaal@elver.org 
Web: www.springsite.com - www.elver.org
 |  
 |  
  | 
 | 
Powered by 
FUDForum. Page generated in 0.22291 seconds