Page 1 of 1

connect to more than on database

Posted: 26.12.2006, 18:46
by trivera
In ODBC you can submit two databases for fail safety. if the primary database goes down then it automatically switches to the secondary and continues to write data to the backup databse. Does zeoslib has a similar functionality? if it does which version contains that functionality?

thank you for your help.

Posted: 27.12.2006, 03:33
by fduenas
I Didn´t knew about this odbc functionality. But i don´t think zeos could have this functonality yet.

Posted: 27.12.2006, 13:05
by gto
Neither me.

Well, on a first look, you can emulate this behaviour using onConnect and onDisconnect of TZConnection and looping through an array of possible databases.

It will be needed only when stay up is at high priority, although.