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
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/h2-database/-/WMyasyYltqcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.