public class DBManagerUtil
extends Object
Constructor and Description |
---|
DBManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static DB |
getDB() |
static DB |
getDB(DBType dbType,
javax.sql.DataSource dataSource) |
static DB |
getDB(Object dialect,
javax.sql.DataSource dataSource) |
static DBManager |
getDBManager() |
static DBType |
getDBType(Object dialect) |
static Set<DBType> |
getDBTypes() |
static void |
reset() |
static void |
setDB(DBType dbType,
javax.sql.DataSource dataSource) |
static void |
setDB(Object dialect,
javax.sql.DataSource dataSource) |
static void |
setDBManager(DBManager dbManager) |
public static DB getDB()
public static DB getDB(Object dialect, javax.sql.DataSource dataSource)
public static DBManager getDBManager()
public static DBType getDBType(Object dialect)
public static Set<DBType> getDBTypes()
public static void reset()
public static void setDB(DBType dbType, javax.sql.DataSource dataSource)
public static void setDB(Object dialect, javax.sql.DataSource dataSource)
public static void setDBManager(DBManager dbManager)