Subject Re: Commit fails if nothing has been done since last commit
Author rrokytskyy
--- In Firebird-Java@y..., David Jencks <davidjencks@d...> wrote:
> I think I fixed this. I assume you previously set autocommit false
> before the code you show us? It stays false until you set it true.

I haven't checked whole classes, but to solve this problem I had to
add into the FBConnection.commit() and FBConnection.rollback()
following statement

if (!inTransaction())

right after the check on the auto-commit case. It works for me fine,
but I did not commit this code since I'm not sure if it does not
interfere with any JCA stuff.

David, should I commit it?

Best regards,
Roman Rokytskyy