Uses of Interface
java.sql.PreparedStatement
Packages that use PreparedStatement
Package
Description
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides the API for server side data source access and processing from
the Java programming language.
-
Uses of PreparedStatement in java.sql
Subinterfaces of PreparedStatement in java.sqlModifier and TypeInterfaceDescriptioninterfaceThe interface used to execute SQL stored procedures.Methods in java.sql that return PreparedStatementModifier and TypeMethodDescriptionConnection.prepareStatement(String sql) Creates aPreparedStatementobject for sending parameterized SQL statements to the database.Connection.prepareStatement(String sql, int autoGeneratedKeys) Creates a defaultPreparedStatementobject that has the capability to retrieve auto-generated keys.Connection.prepareStatement(String sql, int[] columnIndexes) Creates a defaultPreparedStatementobject capable of returning the auto-generated keys designated by the given array.Connection.prepareStatement(String sql, int resultSetType, int resultSetConcurrency) Creates aPreparedStatementobject that will generateResultSetobjects with the given type and concurrency.Connection.prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Creates aPreparedStatementobject that will generateResultSetobjects with the given type, concurrency, and holdability.Connection.prepareStatement(String sql, String[] columnNames) Creates a defaultPreparedStatementobject capable of returning the auto-generated keys designated by the given array. -
Uses of PreparedStatement in javax.sql
Methods in javax.sql that return PreparedStatementModifier and TypeMethodDescriptionStatementEvent.getStatement()Returns thePreparedStatementthat is being closed or is invalidConstructors in javax.sql with parameters of type PreparedStatementModifierConstructorDescriptionStatementEvent(PooledConnection con, PreparedStatement statement) Constructs aStatementEventwith the specifiedPooledConnectionandPreparedStatement.StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception) Constructs aStatementEventwith the specifiedPooledConnection,PreparedStatementandSQLException