provides the possibilty of executing a precompiled SQL statement.
A SQL statement is pre-compiled and stored in a PreparedStatement object.
This object can then be used to efficiently execute this statement multiple
times.
executes the SQL INSERT, UPDATE or DELETE statement in this
PreparedStatement
object.
In addition, SQL statements that return nothing, such as
SQL DDL statements, can be executed.
executes the SQL INSERT, UPDATE or DELETE statement in this
PreparedStatement
object.
In addition, SQL statements that return nothing, such as
SQL DDL statements, can be executed.
Returns
either the row count for INSERT, UPDATE or DELETE statements; or 0 for SQL statements that return nothing
Some prepared statements return multiple results; the execute
method handles these complex statements as well as the simpler
form of statements handled by executeQuery and executeUpdate.