/** * Attaches a database connection to current thread under a default name. * * @param connection instance of connection to attach to current thread. */ public static void attach(Connection connection) { new DB(DB.DEFAULT_NAME).attach(connection); }
/** * Attaches a database connection to current thread under a default name. * * @param connection instance of connection to attach to current thread. */ public static void attach(Connection connection) { new DB(DB.DEFAULT_NAME).attach(connection); }
/** * Attaches a database connection to current thread under a default name. * * @param connection instance of connection to attach to current thread. */ public static void attach(Connection connection) { new DB(DB.DEFAULT_NAME).attach(connection); }