Both DBCP and SimpleDataSource -- and any other DataSource impl worth its salt support "ping queries" or "connection validators". So yes, absolutely.
Which datasource are you using? Clinton On 7/10/07, Severin Ecker <[EMAIL PROTECTED]> wrote:
Hi everyone, i was wondering whether it's possible to check the connection to the database (if it's still valid) and, if it's been closed if i can try to reinitialize it without the whole ibatis configuration file reading and setup? thanks in advance! cheers, severin