PreparedStatementBackwardsCompat
Allows us to compile on older platforms, while still implementing the methods
from the newer JDBC API.
Methods |
long |
executeLargeUpdate()
Executes a statement (insert, update, delete, create, drop)
and returns the update count.
|
long |
executeLargeUpdate() throws SQLException
Executes a statement (insert, update, delete, create, drop)
and returns the update count.
If another result set exists for this statement, this will be closed
(even if this statement fails).
If auto commit is on, this statement will be committed.
If the statement is a DDL statement (create, drop, alter) and does not
throw an exception, the current transaction (if any) is committed after
executing the statement.
Returns:
the update count (number of row affected by an insert, update or
delete, or 0 if no rows or the statement was a create, drop,
commit or rollback)
Throws:
SQLException - if this object is closed or invalid
|
|