Package org.firebirdsql.jdbc
Interface FBObjectListener.ResultSetListener
- All Known Implementing Classes:
FBObjectListener.NoActionResultSetListener
- Enclosing interface:
- FBObjectListener
public static interface FBObjectListener.ResultSetListener
Listener for the events generated by the result set.
-
Method Summary
Modifier and TypeMethodDescriptionvoidNotify listener that all rows were fetched.voidexecutionCompleted(org.firebirdsql.jdbc.FirebirdRowUpdater updater, boolean success) Notify listener that execution of some row updating operation is completed.voidexecutionStarted(org.firebirdsql.jdbc.FirebirdRowUpdater updater) Notify listener that execution of some row updating operation started.voidNotify listener that result set was closed.
-
Method Details
-
resultSetClosed
Notify listener that result set was closed.- Parameters:
rs- result set that was closed.- Throws:
SQLException
-
allRowsFetched
Notify listener that all rows were fetched. This event is used in auto-commit case to tell the statement that it is completed.- Parameters:
rs- result set that was completed.- Throws:
SQLException
-
executionStarted
Notify listener that execution of some row updating operation started.- Parameters:
updater- instance ofFirebirdRowUpdater- Throws:
SQLException- if somewthing went wrong.
-
executionCompleted
void executionCompleted(org.firebirdsql.jdbc.FirebirdRowUpdater updater, boolean success) throws SQLException Notify listener that execution of some row updating operation is completed.- Parameters:
updater- instance ofFirebirdRowUpdater.- Throws:
SQLException- if something went wrong.
-