| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PreparedStatement | |
|---|---|
| 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 | 
|---|
| Subinterfaces of PreparedStatement in java.sql | |
|---|---|
|  interface | CallableStatementThe interface used to execute SQL stored procedures. | 
| Methods in java.sql that return PreparedStatement | |
|---|---|
|  PreparedStatement | Connection.prepareStatement(String sql)Creates a PreparedStatementobject for sending
 parameterized SQL statements to the database. | 
|  PreparedStatement | Connection.prepareStatement(String sql,
                 int autoGeneratedKeys)Creates a default PreparedStatementobject that has
 the capability to retrieve auto-generated keys. | 
|  PreparedStatement | Connection.prepareStatement(String sql,
                 int[] columnIndexes)Creates a default PreparedStatementobject capable
 of returning the auto-generated keys designated by the given array. | 
|  PreparedStatement | Connection.prepareStatement(String sql,
                 int resultSetType,
                 int resultSetConcurrency)Creates a PreparedStatementobject that will generateResultSetobjects with the given type and concurrency. | 
|  PreparedStatement | Connection.prepareStatement(String sql,
                 int resultSetType,
                 int resultSetConcurrency,
                 int resultSetHoldability)Creates a PreparedStatementobject that will generateResultSetobjects with the given type, concurrency,
 and holdability. | 
|  PreparedStatement | Connection.prepareStatement(String sql,
                 String[] columnNames)Creates a default PreparedStatementobject capable
 of returning the auto-generated keys designated by the given array. | 
| Uses of PreparedStatement in javax.sql | 
|---|
| Methods in javax.sql that return PreparedStatement | |
|---|---|
|  PreparedStatement | StatementEvent.getStatement()Returns the PreparedStatementthat is being closed or is invalid | 
| Constructors in javax.sql with parameters of type PreparedStatement | |
|---|---|
| StatementEvent(PooledConnection con,
               PreparedStatement statement)Constructs a StatementEventwith the specifiedPooledConnectionandPreparedStatement. | |
| StatementEvent(PooledConnection con,
               PreparedStatement statement,
               SQLException exception)Constructs a StatementEventwith the specifiedPooledConnection,PreparedStatementandSQLException | |
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.