Re: How to test Pool.PingQuery with Simple Datasource

2009-05-06 Thread Nathan Maves
based on the source located here http://svn.apache.org/repos/asf/ibatis/trunk/java/ibatis-2/ibatis-2-core/src/com/ibatis/common/jdbc/SimpleDataSource.java private boolean pingConnection(SimplePooledConnection conn) { boolean result = true; try { result = !conn.getRealConnection(

Re: How to test Pool.PingQuery with Simple Datasource

2009-05-06 Thread Ashish Kulkarni
Hi Any ideas on this mail, how to test if Pool.PingQuery is working as expected On Mon, May 4, 2009 at 10:03 AM, Ashish Kulkarni < ashish.kulkarn...@gmail.com> wrote: > HiI have configured my data Source as below > > > /> > value="jdbc:as400:MYAS400/MYDB;naming=system;date format=iso;time >

How to test Pool.PingQuery with Simple Datasource

2009-05-04 Thread Ashish Kulkarni
HiI have configured my data Source as below In my Log4j.xml i have following lines to debug all queries, but i do not see any PingQuery log in my log files, what am i missing, what is the way to make sure that Pool.PingQuery is working as expected, i am going to change Pool.PingConnect