Page 1 of 1

tzconnection ,adoconnection, Tdatabase

Posted: 28.07.2006, 03:19
by hitman
the ado and bde are all have the property 'keepconnection '


do the Tzconnection have this or will have

Posted: 28.07.2006, 08:08
by zippo
What is this property for?

Posted: 29.07.2006, 09:15
by Terence
Sounds like "timeout=unlimited" ;)

Posted: 29.07.2006, 15:16
by gto
KeepConnection, in BDE, is used to allow the application to keep the database connection even if no tables or queries are currently open. Looks like BDE stop the connection if no query/table is open, then reopen when needed.

TConnection uses TSession, and here is a borland page explaining more about Sessions and Connections:
http://info.borland.com/techpubs/delphi ... .html#5886

As far I know, zeos always keep the connection alive.