| java.lang.Object org.enhydra.jdbc.util.JdbcUtil org.enhydra.jdbc.core.CorePreparedStatement
All known Subclasses: org.enhydra.jdbc.standard.StandardPreparedStatement,
CorePreparedStatement | abstract public class CorePreparedStatement extends JdbcUtil implements PreparedStatement(Code) | | A very simple implementation of PreparedStatement. When created
it is supplied with another PreparedStatement to which all
of this class' methods delegate their work.
|
Method Summary | |
public void | addBatch() | public void | addBatch(String s) | public void | cancel() | abstract public void | catchInvoke(SQLException e) | public void | clearBatch() | public void | clearParameters() | public void | clearWarnings() | public void | close() | public boolean | execute() | public boolean | execute(String s) | 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 s) | public int | executeUpdate() | public int | executeUpdate(String s) | 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 java.sql.ResultSet | getGeneratedKeys() | public int | getMaxFieldSize() | public int | getMaxRows() | public ResultSetMetaData | getMetaData() | public boolean | getMoreResults() | public boolean | getMoreResults(int current) | public java.sql.ParameterMetaData | getParameterMetaData() | public int | getQueryTimeout() | public ResultSet | getResultSet() | public int | getResultSetConcurrency() | public int | getResultSetHoldability() | public int | getResultSetType() | public int | getUpdateCount() | public SQLWarning | getWarnings() | abstract public void | preInvoke() Methods used to do some works before and during the catch
clause, to prevent the pool that a connection is broken. | 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 | setCursorName(String name) | 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 | 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 | setLogger(Logger alog) | 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) | public void | setObject(int parameterIndex, Object x, int targetSqlType) | public void | setObject(int parameterIndex, Object x, int targetSqlType, int scale) | 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, 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, java.net.URL x) | public void | setUnicodeStream(int parameterIndex, InputStream x, int length) |
preInvoke | abstract public void preInvoke() throws SQLException(Code) | | Methods used to do some works before and during the catch
clause, to prevent the pool that a connection is broken.
|
setCharacterStream | public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code) | | |
setEscapeProcessing | public void setEscapeProcessing(boolean enable) throws SQLException(Code) | | |
|
|