Atomikos Forum |
|
Hibernate 3.2.6ga to be exact.
In the wiki it says that to use hibernate you should use the Atomikos transaction factory: com.atomikos.icatch.jta.hibernate3.AtomikosJTATransactionFactory instead of org.hibernate.transaction.JTATransactionFactory However, when I try this with Hibernate 3.2.6 I get a null pointer exception because the Atomikos class doesn't delegate the configure() method to the hibernate class. Therefore the hibernate Factory class isn't properly intitialized resulting in the NullPointerException. My solution was to add super.configure() to the Atomikos class. Now it works as advertised. I'm not sure when this broke, but you should catch the code up with the wiki or modify the wiki (should I be using the hibernate class instead?) to match the code. |