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

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?