org.firebirdsql.jdbc

Interface FBObjectListener.ResultSetListener

public static interface FBObjectListener.ResultSetListener

Listener for the events generated by the result set.

Method Summary

void
allRowsFetched(ResultSet rs)
Notify listener that all rows were fetched.
void
executionCompleted(org.firebirdsql.jdbc.FirebirdRowUpdater updater, boolean success)
Notify listener that execution of some row updating operation is completed.
void
executionStarted(org.firebirdsql.jdbc.FirebirdRowUpdater updater)
Notify listener that execution of some row updating operation started.
void
resultSetClosed(ResultSet rs)
Notify listener that result set was closed.

Method Details

allRowsFetched

public void allRowsFetched(ResultSet rs)
            throws SQLException
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.

executionCompleted

public 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 of FirebirdRowUpdater.

executionStarted

public void executionStarted(org.firebirdsql.jdbc.FirebirdRowUpdater updater)
            throws SQLException
Notify listener that execution of some row updating operation started.
Parameters:
updater - instance of FirebirdRowUpdater

resultSetClosed

public void resultSetClosed(ResultSet rs)
            throws SQLException
Notify listener that result set was closed.
Parameters:
rs - result set that was closed.

Copyright B) 2001 David Jencks and other authors. All rights reserved.