Connection.createStatement
Interface Overview | Interface Members |
This Package |
All Packages
public abstract Statement createStatement() throws SQLException
Returns
a new Statement object
Description
SQL statements without parameters are normally
executed using Statement objects. If the same SQL statement
is executed many times, it is more efficient to use a
PreparedStatement
Exceptions
SQLException
if a database-access error occurs.