Pooling option and validate

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Pooling option and validate

Post by calou » Thu 26 Nov 2009 09:42

Hello,

I have read the help file about pooling option and i don't really understand what the property validate do?
Could it be possible to have an example to demonstrate in which case we should put it to true or false?

Thanks for help

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 26 Nov 2009 14:17

If you set Validate to True, IBDAC executes some query on the connection when TIBCConnection takes an internal connection from pool. If the internal connection is broken, the error occurs on validation. In this case IBDAC destroys this connection, and takes another connection from the pool.

You may need this option in case of unstable network.

calou
Posts: 116
Joined: Tue 27 May 2008 12:46

Post by calou » Thu 26 Nov 2009 14:42

Thanks for explanations

Post Reply