| Java™ Platform Standard Ed. 6 | ||||||||||
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language. |
| javax.sql | Provides the API for server side data source access and processing fromthe Java programming language. |
| Subinterfaces ofPreparedStatement injava.sql | |
|---|---|
CallableStatementThe interface used to execute SQL stored procedures. | |
| Methods injava.sql that returnPreparedStatement | |
|---|---|
Connection.prepareStatement(String sql)Creates a PreparedStatement object for sending parameterized SQL statements to the database. | |
Connection.prepareStatement(String sql, int autoGeneratedKeys)Creates a default PreparedStatement object that has the capability to retrieve auto-generated keys. | |
Connection.prepareStatement(String sql, int[] columnIndexes)Creates a default PreparedStatement object capable of returning the auto-generated keys designated by the given array. | |
Connection.prepareStatement(String sql, int resultSetType, int resultSetConcurrency)Creates a PreparedStatement object that will generateResultSet objects with the given type and concurrency. | |
Connection.prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)Creates a PreparedStatement object that will generateResultSet objects with the given type, concurrency, and holdability. | |
Connection.prepareStatement(String sql,String[] columnNames)Creates a default PreparedStatement object capable of returning the auto-generated keys designated by the given array. | |
| Methods injavax.sql that returnPreparedStatement | |
|---|---|
StatementEvent.getStatement()Returns the PreparedStatement that is being closed or is invalid | |
| Constructors injavax.sql with parameters of typePreparedStatement | |
|---|---|
StatementEvent(PooledConnection con,PreparedStatement statement)Constructs a StatementEvent with the specifiedPooledConnection andPreparedStatement. | |
StatementEvent(PooledConnection con,PreparedStatement statement,SQLException exception)Constructs a StatementEvent with the specifiedPooledConnection,PreparedStatement andSQLException | |
| Java™ Platform Standard Ed. 6 | ||||||||||