Subject | Re: [Firebird-Java] Re: Commit fails if nothing has been done since last commit |
---|---|
Author | David Jencks |
Post date | 2002-03-20T13:18:47Z |
I think I got the commit, but missed the rollback case. I'll add that also.
It doesn't interfere with the jca stuff since if you are using it you won't
be calling commit() on the Connection anyway.
Thanks
david jencks
It doesn't interfere with the jca stuff since if you are using it you won't
be calling commit() on the Connection anyway.
Thanks
david jencks
On 2002.03.20 04:09:36 -0500 rrokytskyy wrote:
> --- 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())
> 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
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>