|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is a helper class to handle different behaviour of connection eg. in transactional/nontransactional environment.
| Method Summary | |
void |
close(ResultSet result,
PreparedStatement statement,
Connection connection)
Close all opened resources. |
Connection |
createConnection()
Creates a new connection. |
DataSource |
getDataSource()
|
void |
setDataSource(DataSource dataSource)
|
| Method Detail |
public Connection createConnection()
throws SQLException
SQLException
public void close(ResultSet result,
PreparedStatement statement,
Connection connection)
result - statement - connection - public DataSource getDataSource()
public void setDataSource(DataSource dataSource)
dataSource - The dataSource to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||