| java.lang.Object snaq.db.CachedStatement snaq.db.CachedPreparedStatement
All known Subclasses: snaq.db.CachedCallableStatement,
CachedPreparedStatement | public class CachedPreparedStatement extends CachedStatement implements PreparedStatement(Code) | | PreparedStatement wrapper that provides caching support.
author: Giles Winstanley |
Method Summary | |
public void | addBatch() | public void | clearParameters() | public boolean | execute() | public ResultSet | executeQuery() | public int | executeUpdate() | public ResultSetMetaData | getMetaData() | public ParameterMetaData | getParameterMetaData() | String | getSQLString() | public void | recycle() Overridden to add PreparedStatement specific code. | public void | release() Overridden to provide caching support. | public void | setArray(int i, Array x) | public void | setAsciiStream(int parameterIndex, InputStream x, int length) | public void | setBigDecimal(int parameterIndex, BigDecimal x) | public void | setBinaryStream(int parameterIndex, 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, Reader reader, int length) | public void | setClob(int i, Clob x) | public void | setDate(int parameterIndex, Date x) | public void | setDate(int parameterIndex, Date x, Calendar cal) | public void | setDouble(int parameterIndex, double x) | public void | setFloat(int parameterIndex, float x) | public void | setInt(int parameterIndex, int x) | public void | setLong(int parameterIndex, long x) | 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 | setRef(int i, Ref x) | public void | setShort(int parameterIndex, short x) | public void | setString(int parameterIndex, String x) | public void | setTime(int parameterIndex, Time x) | public void | setTime(int parameterIndex, Time x, Calendar cal) | public void | setTimestamp(int parameterIndex, Timestamp x) | public void | setTimestamp(int parameterIndex, Timestamp x, Calendar cal) | public void | setURL(int parameterIndex, URL x) | public void | setUnicodeStream(int parameterIndex, InputStream x, int length) | public String | toString() |
CachedPreparedStatement | public CachedPreparedStatement(String sql, PreparedStatement st)(Code) | | Creates a new CachedPreparedStatement object, using the supplied PreparedStatement.
|
recycle | public void recycle() throws SQLException(Code) | | Overridden to add PreparedStatement specific code.
|
release | public void release() throws SQLException(Code) | | Overridden to provide caching support.
|
setCharacterStream | public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code) | | |
|
|