public class SqlUtils { public static QueryRunnerHelper getMySqlInstance() { DataSource ds = SqlMyDataSource.getInstance(); QueryRunnerHelper qr = new QueryRunnerHelper(ds); return qr ; } public static QueryRunnerHelper getMsSqlInstance() { DataSource ds = SqlMsDataSource.getInstance(); QueryRunnerHelper qr = new QueryRunnerHelper(ds); return qr; } }