Package org.firebirdsql.jdbc
Class FBRowUpdater
java.lang.Object
org.firebirdsql.jdbc.FBRowUpdater
Class responsible for modifying updatable result sets.
A result set is updatable if and only if:
- It is a subset of a single table and includes all columns from the table's primary key (in other words, includes all best row identifiers) or RDB$DB_KEY column (in this case tables without primary key can be updated too).
- If base table columns not included in the result set allow NULL values, result set allows inserting rows into it.
- The result set's SELECT statement does not contain subqueries, a DISTINCT predicate, a HAVING clause, aggregate functions, joined tables, user-defined functions, or stored procedures.
- Author:
- Roman Rokytskyy, Mark Rotteveel
-
Constructor Summary
ConstructorsConstructorDescriptionFBRowUpdater(FBConnection connection, RowDescriptor rowDescriptor, Synchronizable syncProvider, boolean cached, FBObjectListener.ResultSetListener rsListener) -
Method Summary
-
Constructor Details
-
FBRowUpdater
public FBRowUpdater(FBConnection connection, RowDescriptor rowDescriptor, Synchronizable syncProvider, boolean cached, FBObjectListener.ResultSetListener rsListener) throws SQLException - Throws:
SQLException
-
-
Method Details
-
close
- Throws:
SQLException
-
setRow
-
cancelRowUpdates
public void cancelRowUpdates() -
getField
-
updateRow
- Throws:
SQLException
-
deleteRow
- Throws:
SQLException
-
insertRow
- Throws:
SQLException
-
refreshRow
- Throws:
SQLException
-
rowInserted
- Throws:
SQLException
-
rowDeleted
- Throws:
SQLException
-
rowUpdated
- Throws:
SQLException
-
getNewRow
-
getInsertRow
-
getOldRow
-
moveToInsertRow
- Throws:
SQLException
-
moveToCurrentRow
- Throws:
SQLException
-