I switched from Hibernate 4.2 to Hibernate 4.3 and my project is not working any more. I\'m getting an
HibernateException: Unable to locate current JT
Some hint for Spring users - just use this implementation if you setup stuff with the factory bean:
public class AtomikosPlatform extends AbstractJtaPlatform {
private static final long serialVersionUID = -1L;
@Override
protected TransactionManager locateTransactionManager() {
return new J2eeTransactionManager();
}
@Override
protected UserTransaction locateUserTransaction() {
return new J2eeUserTransaction();
}
}