|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package | Description |
|---|---|
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
| javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. |
| Uses of PreparedStatement in java.sql |
|---|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CallableStatement
The interface used to execute SQL stored procedures. |
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
Connection.prepareStatement(String sql)
Creates a PreparedStatement object for sending
parameterized SQL statements to the database. |
PreparedStatement |
Connection.prepareStatement(String sql,
int autoGeneratedKeys)
Creates a default PreparedStatement object that has
the capability to retrieve auto-generated keys. |
PreparedStatement |
Connection.prepareStatement(String sql,
int[] columnIndexes)
Creates a default PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a PreparedStatement object that will generate
ResultSet objects with the given type and concurrency. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a PreparedStatement object that will generate
ResultSet objects with the given type, concurrency,
and holdability. |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
| Uses of PreparedStatement in javax.sql |
|---|
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
StatementEvent.getStatement()
Returns the PreparedStatement that is being closed or is invalid |
| Constructor and Description |
|---|
StatementEvent(PooledConnection con,
PreparedStatement statement)
Constructs a StatementEvent with the specified PooledConnection and
PreparedStatement. |
StatementEvent(PooledConnection con,
PreparedStatement statement,
SQLException exception)
Constructs a StatementEvent with the specified PooledConnection,
PreparedStatement and SQLException |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.