|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DBTransactionalDriver
Interface to be implemented by those db drivers whose management system support transactions
| Method Summary | |
|---|---|
void |
beginTrans(java.sql.Connection con)
Begins a transaction |
void |
commitTrans(java.sql.Connection con)
Commits the changes made during the transaction |
void |
rollBackTrans(java.sql.Connection con)
Cancels the changes made during the transaction |
| Method Detail |
|---|
void beginTrans(java.sql.Connection con)
throws java.sql.SQLException
Connection - to perform the transacion begining
java.sql.SQLException - If the transaction could not be started
void commitTrans(java.sql.Connection con)
throws java.sql.SQLException
Connection - to perform the transacion commitment
java.sql.SQLException - If the transaction could not be commited
void rollBackTrans(java.sql.Connection con)
throws java.sql.SQLException
Connection - to perform the transacion rollback
java.sql.SQLException - If the transaction could not be cancelled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||