Atomikos Forum

AtomikosDataSourceBean and connection verification

Hello,

Most connection pools suppose some kind of connection verification which can be configured before a connection is taken out of the pool to test the connection's validity
(typically by performing a dummy query using that connection).

I don't see such configuration options on the AtomikosDataSourceBean. Can we rely on the underlying XA datasource for this functionality, or is it something that should be added to the AtomikosDataSourceBean to be correct ?
Francois Staes Send private email
Thursday, February 19, 2009
 
 
Stupid me....

setTestQuery("SELECT ... ")

on the AtomikosDataSourceBean does the trick.
Francois Staes Send private email
Thursday, February 19, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics