Package org.postgresql.jdbc
Class PgConnection.TransactionCommandHandler
- java.lang.Object
-
- org.postgresql.core.ResultHandlerBase
-
- org.postgresql.jdbc.PgConnection.TransactionCommandHandler
-
- All Implemented Interfaces:
ResultHandler
- Enclosing class:
- PgConnection
private class PgConnection.TransactionCommandHandler extends ResultHandlerBase
Handler for transaction queries.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTransactionCommandHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleCompletion()Called before a QueryExecutor method returns.-
Methods inherited from class org.postgresql.core.ResultHandlerBase
getException, getWarning, handleCommandStatus, handleError, handleResultRows, handleWarning, secureProgress
-
-
-
-
Method Detail
-
handleCompletion
public void handleCompletion() throws java.sql.SQLExceptionDescription copied from interface:ResultHandlerCalled before a QueryExecutor method returns. This method may throw a SQLException if desired; if it does, the QueryExecutor method will propagate that exception to the original caller.- Specified by:
handleCompletionin interfaceResultHandler- Overrides:
handleCompletionin classResultHandlerBase- Throws:
java.sql.SQLException- if the handler wishes the original method to throw an exception.
-
-