Subject | Re: JayBird and large attachment |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-08-11T14:17:07Z |
> But, to be honnest, I do not fully understand what is the action ofTRANSACTION_NONE is not supported in JayBird and Firebird. Lowest
> setAutoCommit(true) when using a SELECT statement, which is not an
> update.
> Is it for transaction modes differents from TRANSACTION_NONE?
transaction isolation level is TRANSACTION_READ_COMMITTED. However, if
you use TRANSACTION_REPEATABLE_READ, you have to commit after
executing SELECT in order to see committed chages (in other words you
have to start new transaction).
Also, you can create a selectable stored procedure that will
insert/update/delete some data during its execution. Committing will
fix the changes made by that procedure.
Best regards,
Roman Rokytskyy