Subject | AW: [Firebird-Java] Do I need to commit every transaction if I'm using jaybird? |
---|---|
Author | Steffen Heil |
Post date | 2005-02-02T10:54:27Z |
Hi
SQL statements are ment to be atomic.
They work or they are rolled back by some exception.
But since you maintain the driver, you should know better.
So, can you explain what you ment and give any example?
Regards,
Steffen
[Non-text portions of this message have been removed]
> This means, for each statement a new transaction is started,Really? I disagree.
> statement is executed and transactions is committed (really
> committed, without checking whether an error had happened or
> not, this also means if your statement changed half of the
> code and then error happened, that half-correct state will be
> made permanent;
SQL statements are ment to be atomic.
They work or they are rolled back by some exception.
But since you maintain the driver, you should know better.
So, can you explain what you ment and give any example?
Regards,
Steffen
[Non-text portions of this message have been removed]