Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Teneo Error Initializing
EMF Teneo Error Initializing [message #486029] Wed, 16 September 2009 00:40 Go to next message
Eclipse UserFriend
Originally posted by: bdberry.us.ibm.com

The following code...

hbds = (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore("GSARDB ");
hbds.setEPackages(new EPackage[]{CorePackage.eINSTANCE});
hbds.initialize();

is failing with the following exception...

Exception in thread "main" java.lang.AbstractMethodError:
org.eclipse.emf.teneo.hibernate.tuplizer.EMFTuplizer.getEnti tyNameResolvers()[Lorg/hibernate/EntityNameResolver;
at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:440)
at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:435)
at
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:330)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configur ation.java:1341)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSess ionFactory(HbSessionDataStore.java:171)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:83)
at com.ibm.gsar.model.test.HibernateTest.main(HibernateTest.jav a:42)



I am using org.eclipse.emf.teneo.hibernate (1.1.0) and hibernate v3.3.2

I am just trying to get a simple example working locally. Anyone have
any ideas what I might be doing wrong here? Is there an incompatibility
with Teneo and the latest Hibernate?
Re: EMF Teneo Error Initializing [message #486030 is a reply to message #486029] Wed, 16 September 2009 01:10 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Brian,
You should use a latest 1.1.1 maintenance release for hibernate 3.3.2. See this page:
http://www.elver.org/hibernate/index.html
for version compatibility.

I did a build a few hours back, I would use that one. It is build against eclipse 3.5.1 but I am sure it works fine with
3.5.0 also.

gr. Martin

Brian Berry wrote:
> The following code...
>
> hbds = (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore("GSARDB ");
> hbds.setEPackages(new EPackage[]{CorePackage.eINSTANCE});
> hbds.initialize();
>
> is failing with the following exception...
>
> Exception in thread "main" java.lang.AbstractMethodError:
> org.eclipse.emf.teneo.hibernate.tuplizer.EMFTuplizer.getEnti tyNameResolvers()[Lorg/hibernate/EntityNameResolver;
>
> at
> org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:440)
>
> at
> org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:435)
>
> at
> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:330)
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configur ation.java:1341)
>
> at
> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSess ionFactory(HbSessionDataStore.java:171)
>
> at
> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:83)
>
> at com.ibm.gsar.model.test.HibernateTest.main(HibernateTest.jav a:42)
>
>
>
> I am using org.eclipse.emf.teneo.hibernate (1.1.0) and hibernate v3.3.2
>
> I am just trying to get a simple example working locally. Anyone have
> any ideas what I might be doing wrong here? Is there an incompatibility
> with Teneo and the latest Hibernate?


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
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
Previous Topic:complexType not translated to ECLass
Next Topic:@TableGenerator pkColumn and allocation
Goto Forum:
  


Current Time: Sat Apr 20 00:08:48 GMT 2024

Powered by FUDForum. Page generated in 0.02630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top