-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: net.sf.hibernate.MappingException: Dialect does not support
PostPosted: Thu Mar 05, 2009 3:55 pm 
Newbie

Joined: Thu Mar 05, 2009 3:49 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.