Hibernate MySQL transaction configuration issue

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-01-20T01:51:18Z Indexed on 2010/03/17 0:41 UTC
Read the original article Hit count: 388

I'm having trouble starting a transaction with Hibernate and MySQL while running in JUnit. I'm getting a HibernateException which states: "No TransactionManagerLookup specified". I believe this error is because I don't have a proper configuration setting for hibernate.transaction.manager_lookup_class.

I see that under the namespace of org.hibernate.transaction there are quite a few different lookup classes that I could use. All of the documentation that I could find on these was very vague. My question is what is the appropriate one for MySQL?

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about mysql