com.jdbaccess.db
Class JDBAccess
java.lang.Object
com.jdbaccess.db.JDBAccess
public class JDBAccess
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBAccess
public JDBAccess()
getName
public static java.lang.String getName()
setDataSource
public static void setDataSource(DataSource dataSource,
boolean debugMode)
setDataSource
public static void setDataSource(DataSource dataSource)
getDataSource
public static DataSource getDataSource()
getDataSource
public static DataSource getDataSource(java.lang.String dataSourceName)
getConnPool
public static ConnPool getConnPool(java.lang.String connPoolName)
getQueryConnPool
public static QueryConnPool getQueryConnPool(java.lang.String queryConnPoolName)
getStmtPool
public static StatementPool getStmtPool(java.lang.String stmtPoolName)
start
public static void start()
throws ApplicationException
- Throws:
ApplicationException
end
public static void end()
throws ApplicationException
- Throws:
ApplicationException
isStarted
public static boolean isStarted()
isOfTypeOracle
public static boolean isOfTypeOracle()
- Returns:
- true if the database manufacturer for the data source is Oracle (type
of the JDBC driver)
isOfTypeMySql
public static boolean isOfTypeMySql()
- Returns:
- true if the database manufacturer for the data source is mySQL (type
of the JDBC driver)
getLogoImage
public static java.awt.Image getLogoImage()
getIconImage
public static java.awt.Image getIconImage()
getIconBytes
public static byte[] getIconBytes()
throws ApplicationException
- Throws:
ApplicationException
getBlueElephantBytes
public static byte[] getBlueElephantBytes()
throws ApplicationException
- Throws:
ApplicationException