Tests from Maurizio using the JtaTransactionManager ...
These two fail ...
public void insertWithException(User user) { myDao.insertUser(user); if (true) { throw new RuntimeException(); } } public void insertWithRollback(User user) { myDao.insertUser(user); context.setRollbackOnly(); }
Maurizio supplied a patch, adding a DummyTransaction.
Applied patch - Fixed in HEAD.
Thanks Maurizio.