Hi, I've been having trouble using H2 with the Bitronix transaction manager. If I call setQueryTimeout or setFetchSize on a statement during a transaction, it throws an exception during the next transaction. I seemingly fixed it by removing some lines from the JdbcXAConnection class (around line 327):
// else if (currentTransaction != null) {
// throw new XAException(XAException.XAER_NOTA);
// }
Not sure if this is a proper fix but it seems to work for me. I know the XA capability in H2 is not production quality but I thought I'd mention for others seeing the same problem.
Thanks
Curtis