Hi all, [EMAIL PROTECTED] a �crit: > Thanks to Raimo and Thomas for pointing me to the other thread on this > topic. > > I guess this will teach me to search the "slide-dev" group in addition to > the "slide-user" group..... > > Thanks also to Christopher Lenz for working with me on this issue... > > Are any changes going to be made to the 2.0 branch to address this?? >
I don't know. But I remember that this isConnected() method was introduced because it was the only way found to check jdbc connection validity. The thread http://www.mail-archive.com/[email protected]/msg02262.html give some light on why connection has to be checked before to be used and why it is not possible just to recreate a lost connection when an SQLException is caugth. But I think that an optimizations could be done : the actual test query is "select 1 from objects where uri is null". It would be better just to use a real dummy query like "select 1". I have seen that JEEStore does not perform this test query into isConnected() method and seems to let its connection pool do the job. Ideas ? Jp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
