Subject | Re: Commit fails if nothing has been done since last commit |
---|---|
Author | rrokytskyy |
Post date | 2002-03-20T09:09:36Z |
--- In Firebird-Java@y..., David Jencks <davidjencks@d...> wrote:
add into the FBConnection.commit() and FBConnection.rollback()
following statement
if (!inTransaction())
return;
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
> I think I fixed this. I assume you previously set autocommit falseI haven't checked whole classes, but to solve this problem I had to
> before the code you show us? It stays false until you set it true.
add into the FBConnection.commit() and FBConnection.rollback()
following statement
if (!inTransaction())
return;
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