public interface HTTPdSQLConnectionAdapterInterface
Modifier and Type | Method | Description |
---|---|---|
java.sql.Connection |
getNewConnection() |
Get a new database connection.
|
void |
init(java.lang.String nickname,
java.lang.String[] configArgs,
QAHTTPdContext httpdContext) |
Initialize the database adapter.
|
void init(java.lang.String nickname, java.lang.String[] configArgs, QAHTTPdContext httpdContext) throws java.lang.Exception
nickname
- the nickname of the adapter or databaseconfigArgs
- optional configuration arguments for the SQL connection adapter, can be null if unusedhttpdContext
- the context of the current QAHTTPd instancejava.lang.Exception
- if somewhat failsjava.sql.Connection getNewConnection() throws java.lang.Exception
java.lang.Exception
- if somewhat fails