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 private
TransactionCommandHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleCompletion()
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.SQLException
Description copied from interface:ResultHandler
Called 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:
handleCompletion
in interfaceResultHandler
- Overrides:
handleCompletion
in classResultHandlerBase
- Throws:
java.sql.SQLException
- if the handler wishes the original method to throw an exception.
-
-