MySQLValidConnectionChecker |
public class MySQLValidConnectionChecker implements ValidConnectionChecker,Serializable(Code) |
| Implements check valid connection sql Requires MySQL driver 3.1.8 or later.
This should work on just about any version of the database itself but will
only be "fast" on version 3.22.1 and later. Prior to that version it just
does "SELECT 1" anyhow.
author: Adrian Brock author: Andrew C. Oliver author: Jim Moran version: $Revision: 57189 $ |