public static interface FBObjectListener.StatementListener
| Modifier and Type | Method and Description | 
|---|---|
| void | executionStarted(FBStatement stmt)Notify listener that statement execution is being started. | 
| FBConnection | getConnection()Get the connection object to which this listener belongs to. | 
| void | statementClosed(FBStatement stmt)Notify the listener that statement was closed. | 
| void | statementCompleted(FBStatement stmt)Notify the listener that statement is completed. | 
| void | statementCompleted(FBStatement stmt,
                  boolean success)Notify the listener that statement is completed and tell whether execution was successfull or not. | 
FBConnection getConnection() throws java.sql.SQLException
FBConnectionjava.sql.SQLException - if something went wrong.void executionStarted(FBStatement stmt) throws java.sql.SQLException
stmt - statement that is being executed.java.sql.SQLException - if something went wrong.void statementClosed(FBStatement stmt) throws java.sql.SQLException
stmt - statement that was closed.java.sql.SQLExceptionvoid statementCompleted(FBStatement stmt) throws java.sql.SQLException
statementCompleted(AbstractStatement, true).stmt - statement that was completed.java.sql.SQLExceptionvoid statementCompleted(FBStatement stmt, boolean success) throws java.sql.SQLException
stmt - statement that was completed.success - true if completion was successfull.java.sql.SQLException - if an error occured.Copyright © 2001-2022 Jaybird (Firebird JDBC/JCA) team. All rights reserved.