com::cosylab::cdb::jdal::hibernate::DBUtil Class Reference
List of all members.
Classes |
| class | ConnectionData |
Static Public Member Functions |
| static ConnectionData | connectDB (Logger logger) throws SQLException, ClassNotFoundException |
| static Connection | connectGeneric (String backend, String clazz, String dbUser, String dbPassword, String dbUrl, Logger logger) throws SQLException, ClassNotFoundException |
| static Connection | connectOracle (String dbUser, String dbPassword, String dbUrl, Logger logger) throws SQLException, ClassNotFoundException |
| static Connection | connectHsqldb (String dbUser, String dbPassword, String dbUrl, Logger logger) throws SQLException, ClassNotFoundException |
| static void | loadAndExecuteScript (Connection connection, String filename) throws Exception |
Static Public Attributes |
| static final String | HSQLDB_BACKEND_NAME = "hsqldb" |
| static final String | ORACLE_BACKEND_NAME = "oracle" |
Detailed Description
- Author:
- msekoranja
Member Function Documentation
| static ConnectionData com::cosylab::cdb::jdal::hibernate::DBUtil::connectDB |
( |
Logger |
logger |
) |
throws SQLException, ClassNotFoundException [inline, static] |
| static Connection com::cosylab::cdb::jdal::hibernate::DBUtil::connectGeneric |
( |
String |
backend, |
|
|
String |
clazz, |
|
|
String |
dbUser, |
|
|
String |
dbPassword, |
|
|
String |
dbUrl, |
|
|
Logger |
logger | |
|
) |
| | throws SQLException, ClassNotFoundException [inline, static] |
| static Connection com::cosylab::cdb::jdal::hibernate::DBUtil::connectHsqldb |
( |
String |
dbUser, |
|
|
String |
dbPassword, |
|
|
String |
dbUrl, |
|
|
Logger |
logger | |
|
) |
| | throws SQLException, ClassNotFoundException [inline, static] |
| static Connection com::cosylab::cdb::jdal::hibernate::DBUtil::connectOracle |
( |
String |
dbUser, |
|
|
String |
dbPassword, |
|
|
String |
dbUrl, |
|
|
Logger |
logger | |
|
) |
| | throws SQLException, ClassNotFoundException [inline, static] |
| static void com::cosylab::cdb::jdal::hibernate::DBUtil::loadAndExecuteScript |
( |
Connection |
connection, |
|
|
String |
filename | |
|
) |
| | throws Exception [inline, static] |
Member Data Documentation
The documentation for this class was generated from the following file: