Subject | Re: [ib-support] What happens to transaction when form closed? |
---|---|
Author | Martijn Tonies |
Post date | 2002-08-22T11:22:28Z |
Hi,
That depends on the components you are using. If the transaction
has a "default" action, you might want to check there.
If you're doing nothing (and the components are doing nothing either),
the transaction will be rolled back if you close the connection.
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."
That depends on the components you are using. If the transaction
has a "default" action, you might want to check there.
If you're doing nothing (and the components are doing nothing either),
the transaction will be rolled back if you close the connection.
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."
> If I close a form, without explicitly Committing or Rollback'ing a
> transaction before closing, does the transaction Commit or Rollback?
>
> I'm using Firebird and Delphi 5 Prof.