| java.lang.Object org.jboss.resource.adapter.jdbc.CachedPreparedStatement
All known Subclasses: org.jboss.resource.adapter.jdbc.CachedCallableStatement,
CachedPreparedStatement | public class CachedPreparedStatement implements PreparedStatement(Code) | | Wrapper class for cached PreparedStatements. Keeps a refcount. When this refcount reaches 0,
it will close ps.
author: Bill Burke author: Adrian Brock version: $Revision: 57189 $ |
Method Summary | |
public void | addBatch() | public void | addBatch(String sql) | public void | agedOut() | public void | cancel() | public void | clearBatch() | public void | clearParameters() | public void | clearWarnings() | public void | close() | public boolean | execute() | public boolean | execute(String sql) | public boolean | execute(String sql, int autoGeneratedKeys) | public boolean | execute(String sql, int columnIndexes) | public boolean | execute(String sql, String columnNames) | public int[] | executeBatch() | public ResultSet | executeQuery() | public ResultSet | executeQuery(String sql) | public int | executeUpdate() | public int | executeUpdate(String sql) | public int | executeUpdate(String sql, int autoGeneratedKeys) | public int | executeUpdate(String sql, int columnIndexes) | public int | executeUpdate(String sql, String columnNames) | public Connection | getConnection() | public int | getFetchDirection() | public int | getFetchSize() | public ResultSet | getGeneratedKeys() | public int | getMaxFieldSize() | public int | getMaxRows() | public ResultSetMetaData | getMetaData() | public boolean | getMoreResults() | public boolean | getMoreResults(int current) | public ParameterMetaData | getParameterMetaData() | public int | getQueryTimeout() | public ResultSet | getResultSet() | public int | getResultSetConcurrency() | public int | getResultSetHoldability() | public int | getResultSetType() | public PreparedStatement | getUnderlyingPreparedStatement() | public int | getUpdateCount() | public SQLWarning | getWarnings() | public void | inUse() | public boolean | isInUse() | public void | setArray(int i, Array x) | public void | setAsciiStream(int parameterIndex, java.io.InputStream x, int length) | public void | setBigDecimal(int parameterIndex, BigDecimal x) | public void | setBinaryStream(int parameterIndex, java.io.InputStream x, int length) | public void | setBlob(int i, Blob x) | public void | setBoolean(int parameterIndex, boolean x) | public void | setByte(int parameterIndex, byte x) | public void | setBytes(int parameterIndex, byte x) | public void | setCharacterStream(int parameterIndex, java.io.Reader reader, int length) | public void | setClob(int i, Clob x) | public void | setCursorName(String name) | public void | setDate(int parameterIndex, java.sql.Date x) | public void | setDate(int parameterIndex, java.sql.Date x, Calendar cal) | public void | setDouble(int parameterIndex, double x) | public void | setEscapeProcessing(boolean enable) | public void | setFetchDirection(int direction) | public void | setFetchSize(int rows) | public void | setFloat(int parameterIndex, float x) | public void | setInt(int parameterIndex, int x) | public void | setLong(int parameterIndex, long x) | public void | setMaxFieldSize(int max) | public void | setMaxRows(int max) | public void | setNull(int parameterIndex, int sqlType) | public void | setNull(int paramIndex, int sqlType, String typeName) | public void | setObject(int parameterIndex, Object x, int targetSqlType, int scale) | public void | setObject(int parameterIndex, Object x, int targetSqlType) | public void | setObject(int parameterIndex, Object x) | public void | setQueryTimeout(int seconds) | public void | setRef(int i, Ref x) | public void | setShort(int parameterIndex, short x) | public void | setString(int parameterIndex, String x) | public void | setTime(int parameterIndex, java.sql.Time x) | public void | setTime(int parameterIndex, java.sql.Time x, Calendar cal) | public void | setTimestamp(int parameterIndex, java.sql.Timestamp x) | public void | setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) | public void | setURL(int parameterIndex, java.net.URL x) | public void | setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) |
inUse | public void inUse()(Code) | | |
isInUse | public boolean isInUse()(Code) | | |
setEscapeProcessing | public void setEscapeProcessing(boolean enable) throws SQLException(Code) | | |
|
|