| java.lang.Object com.mysql.jdbc.jdbc2.optional.WrapperBase com.mysql.jdbc.jdbc2.optional.StatementWrapper com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper com.mysql.jdbc.jdbc2.optional.JDBC4PreparedStatementWrapper
Method Summary | |
public void | close() | public boolean | isClosed() | public boolean | isPoolable() | public boolean | isWrapperFor(Class> iface) Returns true if this either implements the interface argument or is
directly or indirectly a wrapper for an object that does. | public void | setAsciiStream(int parameterIndex, InputStream x, long length) | public void | setAsciiStream(int parameterIndex, InputStream x) | public void | setBinaryStream(int parameterIndex, InputStream x, long length) | public void | setBinaryStream(int parameterIndex, InputStream x) | public void | setBlob(int parameterIndex, InputStream inputStream, long length) | public void | setBlob(int parameterIndex, InputStream inputStream) | public void | setCharacterStream(int parameterIndex, Reader reader, long length) | public void | setCharacterStream(int parameterIndex, Reader reader) | public void | setClob(int parameterIndex, Reader reader, long length) | public void | setClob(int parameterIndex, Reader reader) | public void | setNCharacterStream(int parameterIndex, Reader value, long length) | public void | setNCharacterStream(int parameterIndex, Reader value) | public void | setNClob(int parameterIndex, NClob value) | public void | setNClob(int parameterIndex, Reader reader, long length) | public void | setNClob(int parameterIndex, Reader reader) | public void | setNString(int parameterIndex, String value) | public void | setPoolable(boolean poolable) | public void | setRowId(int parameterIndex, RowId x) | public void | setSQLXML(int parameterIndex, SQLXML xmlObject) | public synchronized T | unwrap(java.lang.Class<T> iface) Returns an object that implements the given interface to allow access to
non-standard methods, or standard methods not exposed by the proxy. |
isWrapperFor | public boolean isWrapperFor(Class> iface) throws SQLException(Code) | | Returns true if this either implements the interface argument or is
directly or indirectly a wrapper for an object that does. Returns false
otherwise. If this implements the interface then return true, else if
this is a wrapper then return the result of recursively calling
isWrapperFor on the wrapped object. If this does not
implement the interface and is not a wrapper, return false. This method
should be implemented as a low-cost operation compared to
unwrap so that callers can use this method to avoid
expensive unwrap calls that may fail. If this method
returns true then calling unwrap with the same argument
should succeed.
Parameters: interfaces - a Class defining an interface. true if this implements the interface or directly or indirectlywraps an object that does. throws: java.sql.SQLException - if an error occurs while determining whether this is awrapper for an object with the given interface. since: 1.6 |
setCharacterStream | public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException(Code) | | |
setNCharacterStream | public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException(Code) | | |
unwrap | public synchronized T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException(Code) | | Returns an object that implements the given interface to allow access to
non-standard methods, or standard methods not exposed by the proxy. The
result may be either the object found to implement the interface or a
proxy for that object. If the receiver implements the interface then that
is the object. If the receiver is a wrapper and the wrapped object
implements the interface then that is the object. Otherwise the object is
the result of calling unwrap recursively on the wrapped
object. If the receiver is not a wrapper and does not implement the
interface, then an SQLException is thrown.
Parameters: iface - A Class defining an interface that the result must implement. an object that implements the interface. May be a proxy for theactual implementing object. throws: java.sql.SQLException - If no object found that implements the interface since: 1.6 |
Methods inherited from com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper | public void addBatch() throws SQLException(Code)(Java Doc) public void clearParameters() throws SQLException(Code)(Java Doc) public boolean execute() throws SQLException(Code)(Java Doc) public ResultSet executeQuery() throws SQLException(Code)(Java Doc) public int executeUpdate() throws SQLException(Code)(Java Doc) public ResultSetMetaData getMetaData() throws SQLException(Code)(Java Doc) public ParameterMetaData getParameterMetaData() throws SQLException(Code)(Java Doc) public void setArray(int parameterIndex, Array x) throws SQLException(Code)(Java Doc) public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException(Code)(Java Doc) public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) public void setBlob(int parameterIndex, Blob x) throws SQLException(Code)(Java Doc) public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)(Java Doc) public void setByte(int parameterIndex, byte x) throws SQLException(Code)(Java Doc) public void setBytes(int parameterIndex, byte[] x) throws SQLException(Code)(Java Doc) public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code)(Java Doc) public void setClob(int parameterIndex, Clob x) throws SQLException(Code)(Java Doc) public void setDate(int parameterIndex, Date x) throws SQLException(Code)(Java Doc) public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException(Code)(Java Doc) public void setDouble(int parameterIndex, double x) throws SQLException(Code)(Java Doc) public void setFloat(int parameterIndex, float x) throws SQLException(Code)(Java Doc) public void setInt(int parameterIndex, int x) throws SQLException(Code)(Java Doc) public void setLong(int parameterIndex, long x) throws SQLException(Code)(Java Doc) public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)(Java Doc) public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException(Code)(Java Doc) public void setRef(int parameterIndex, Ref x) throws SQLException(Code)(Java Doc) public void setShort(int parameterIndex, short x) throws SQLException(Code)(Java Doc) public void setString(int parameterIndex, String x) throws SQLException(Code)(Java Doc) public void setTime(int parameterIndex, Time x) throws SQLException(Code)(Java Doc) public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException(Code)(Java Doc) public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException(Code)(Java Doc) public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc) public void setURL(int parameterIndex, URL x) throws SQLException(Code)(Java Doc) public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
|
|
|