Subject | Re: New code in CVS |
---|---|
Author | rrokytskyy |
Post date | 2002-02-25T14:22:55Z |
> I began the transaction explicitly, and traced my error to the useAre you working in non-managed case? If yes, than what prevents you
> of Connection.rollback() instead FBLocalTransaction.rollback().
>
> Was hoping that the autocommit stuff for BLOBs would be ready
> for testing soon :-) Can't wait to get the FBLocalTransaction thingy
> out of my JDBC code.
to switch your code from auto-commit to non-autocommit and use
explicit con.commit()/con.rollback() when you finished working with
the database? I think that using the FBLocalTransaction is not the
best way to control the JDBC transactions in the non-managed scenario.
Best regards,
Roman Rokytskyy