Newbie - Transaction components - best practice

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rsanford
Posts: 6
Joined: Sun 26 Mar 2006 16:41

Newbie - Transaction components - best practice

Post by rsanford » Sun 10 Oct 2010 20:01

Newbie question, sorry if this was repeated elsewhere.

My app has one connection, mulitple TIBCquery components. Do I assign two IBCTransaction components to each query (or dataset ) component, 1. for transaction property (ReadCommitted/ReadOnly isolation)
2. for Update transaction property (ReadCommitted isolation)?

I was hoping that transactions would be automatically handled for me using the default transactions without IBCTransaction components added.

Thanks

AndreyZ

Post by AndreyZ » Mon 11 Oct 2010 14:06

Hello,

You don't need to use the IBCTransaction components for the IBCQuery component. IBCQuery is using default transactions for execution and modification.

Post Reply