cancel
Showing results for 
Search instead for 
Did you mean: 

hibernate-3.2.1.jar - custom build?

dbevacqua
Champ in-the-making
Champ in-the-making
Hi

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 hibernate.org, 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.

Thanks

Dominic
1 REPLY 1

derek
Star Contributor
Star Contributor
Hi,

Thanks and well-spotted.  http://issues.alfresco.com/browse/AR-1241.  That will go into all the releases right away.

Regards