|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionProvider
This interface provides an unified access to the JDBC connections.
| Method Summary | |
|---|---|
Connection |
getConnection()
Returns a JDBC connection. |
void |
setAutoCommit(boolean autoCommit)
Sets the autocommit flag for created connection. |
void |
shutdown()
Shuts down the connection provider releasing all resources. |
void |
testConnection()
Tests a connection. |
| Method Detail |
|---|
Connection getConnection()
throws SQLException
SQLException - if connection cannot be obtained.
void testConnection()
throws SQLException
SQLException - if connection could not be tested.void shutdown()
void setAutoCommit(boolean autoCommit)
autoCommit -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||