|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JdbcConnectionBean
bean that wraps connections
Method Summary | |
---|---|
Connection |
connection()
get a connection (dont close this when done, just call "doneWithConnection()" |
void |
doneWithConnection()
call this when the connection is done. |
void |
doneWithConnectionError(Throwable t)
call this when the connection is done but there was an error, will pass an exception. |
void |
doneWithConnectionFinally()
call this when the connection is not needed, in the finally block this might return to pool. |
Method Detail |
---|
Connection connection() throws SQLException
SQLException
- if there is a problemvoid doneWithConnection() throws SQLException
SQLException
- if there is a problemvoid doneWithConnectionFinally()
void doneWithConnectionError(Throwable t)
t
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |