The fix is to change JdbcTransaction to detect is the connection is using autoCommit. If so it turns off autoCommit for the duration of the transaction and then turns it back on afterwards.
fixed in HEAD.