bsys.database.DBManager Class Reference
List of all members.
Static Public Member Functions |
static Driver | loadDriver (final String thisFilePath, final String thisDriverClass) throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException |
static Driver | loadDelegateDriver (final String thisFilePath, final String thisDriverClass) throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException |
static void | registerDriver (final String thisFilePath, final String thisDriverClass) throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException |
static void | attemptConnect (final String thisUrl, final String thisUsername, final String thisPassword) throws SQLException |
static void | main (final String[] args) throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException |
Detailed Description
SQL Manager
- Author:
- Bernard Bou
Member Function Documentation
static void bsys.database.DBManager.attemptConnect |
( |
final String |
thisUrl, |
|
|
final String |
thisUsername, |
|
|
final String |
thisPassword | |
|
) |
| | throws SQLException [static] |
Attempt to connect
- Parameters:
-
| thisUrl | connection url |
| thisUsername | username |
| thisPassword | password |
- Exceptions:
-
static Driver bsys.database.DBManager.loadDelegateDriver |
( |
final String |
thisFilePath, |
|
|
final String |
thisDriverClass | |
|
) |
| | throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException [static] |
Load delegate driver
- Parameters:
-
| thisFilePath | path jar file containig driver |
| thisDriverClass | driver class name |
- Returns:
- driver class
- Exceptions:
-
| MalformedURLException | |
| ClassNotFoundException | |
| InstantiationException | |
| IllegalAccessException | |
static Driver bsys.database.DBManager.loadDriver |
( |
final String |
thisFilePath, |
|
|
final String |
thisDriverClass | |
|
) |
| | throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException [static] |
Load driver
- Parameters:
-
| thisFilePath | path jar file containig driver |
| thisDriverClass | driver class name |
- Returns:
- driver class
- Exceptions:
-
| MalformedURLException | |
| ClassNotFoundException | |
| InstantiationException | |
| IllegalAccessException | |
static void bsys.database.DBManager.main |
( |
final String[] |
args |
) |
throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException [static] |
Main
- Parameters:
-
| args | command-line arguments |
- Exceptions:
-
| MalformedURLException | |
| ClassNotFoundException | |
| InstantiationException | |
| IllegalAccessException | |
| SQLException | |
static void bsys.database.DBManager.registerDriver |
( |
final String |
thisFilePath, |
|
|
final String |
thisDriverClass | |
|
) |
| | throws MalformedURLException, ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException [static] |
Register driver
- Parameters:
-
| thisFilePath | path to driver jar |
| thisDriverClass | driver class |
- Exceptions:
-
| MalformedURLException | |
| ClassNotFoundException | |
| InstantiationException | |
| IllegalAccessException | |
| SQLException | |
The documentation for this class was generated from the following file:
- /opt/devel/wnscope/WordNetScopeConfig/src/bsys/database/DBManager.java