AnsweredAssumed Answered

hibernate-3.2.1.jar - custom build?

Question asked by dbevacqua on Feb 7, 2007
Latest reply on Feb 14, 2007 by derek

We need to map a couple of our own classes to custom tables in the db, and we'd like to use Hibernate annotations. To this end, we have created a new SessionFactory and run this and the default SessionFactory from the same DataSource running through JOTM transaction manager.

Fine, but when it tries to map an annotated class we get a NoClassDefFoundError for org.hibernate.engine.query.sql.NativeSQLQueryReturn.

This is in the source distribution for 3.2.1 from, but it does not appear to be in the hibernate-3.2.1.jar in HEAD of your svn repo.

Is this deliberate, or am I maybe missing something?

Happy to post config details of this when we are done, as I can imagine others might want to do something similar.