[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: EMF Teneo Error Initializing

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.getEntityNameResolvers()[Lorg/hibernate/EntityNameResolver;

at org.hibernate.impl.SessionFactoryImpl.registerEntityNameResolvers(SessionFactoryImpl.java:440)

at org.hibernate.impl.SessionFactoryImpl.registerEntityNameResolvers(SessionFactoryImpl.java:435)

at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:330)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)


at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSessionFactory(HbSessionDataStore.java:171)

at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initialize(HbSessionDataStore.java:83)

    at com.ibm.gsar.model.test.HibernateTest.main(HibernateTest.java: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@xxxxxxxxxxxxxx - mtaal@xxxxxxxxx
Web: www.springsite.com - www.elver.org