Hi,
Does anyone know why this exception would be thrown...
Code:
net.sf.hibernate.MappingException: Dialect does not support identity key generation
at net.sf.hibernate.dialect.Dialect.getIdentitySelectString(Dialect.java:297)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:647)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:692)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:796)
at com.hfa.j2ee.util.ServiceLocator.getHBSessionFactory(Unknown Source)
at com.hfa.j2ee.util.ServiceLocator.getHBSession(Unknown Source)
This exception is not being thrown from my code. I am calling an API and that stupid API is throwing this exception. So I really don't have anything else to go by other than this stacktrace.
I am guessing it is because there is something wrong with my Eclipse build path. Any suggestions would be appreciated.
Thanks in advance for any help,
Jehan