Package net.sourceforge.jtds.jdbcx.proxy
Class PreparedStatementProxy
- java.lang.Object
-
- net.sourceforge.jtds.jdbcx.proxy.StatementProxy
-
- net.sourceforge.jtds.jdbcx.proxy.PreparedStatementProxy
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.sql.PreparedStatement,java.sql.Statement,java.sql.Wrapper
- Direct Known Subclasses:
CallableStatementProxy
public class PreparedStatementProxy extends StatementProxy implements java.sql.PreparedStatement
This class would be better implemented as a java.lang.reflect.Proxy. However, this feature was not added until 1.3 and reflection performance was not improved until 1.4. Since the driver still needs to be compatible with 1.2 and 1.3 this class is used to delegate the calls to a prepared statement with minimal overhead.- Version:
- $Id: PreparedStatementProxy.java,v 1.3.4.3 2009-12-30 08:45:34 ickzon Exp $
-
-
Field Summary
Fields Modifier and Type Field Description private JtdsPreparedStatement_preparedStatement
-
Constructor Summary
Constructors Constructor Description PreparedStatementProxy(ConnectionProxy connection, JtdsPreparedStatement preparedStatement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBatch()Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidclearParameters()Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.booleanexecute()Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.java.sql.ResultSetexecuteQuery()Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.intexecuteUpdate()Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.java.sql.ResultSetMetaDatagetMetaData()Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.java.sql.ParameterMetaDatagetParameterMetaData()Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.booleanisClosed()booleanisPoolable()booleanisWrapperFor(java.lang.Class arg0)voidsetArray(int parameterIndex, java.sql.Array x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetAsciiStream(int parameterIndex, java.io.InputStream x)voidsetAsciiStream(int parameterIndex, java.io.InputStream x, int length)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetAsciiStream(int parameterIndex, java.io.InputStream x, long length)voidsetBigDecimal(int parameterIndex, java.math.BigDecimal x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetBinaryStream(int parameterIndex, java.io.InputStream x)voidsetBinaryStream(int parameterIndex, java.io.InputStream x, int length)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetBinaryStream(int parameterIndex, java.io.InputStream x, long length)voidsetBlob(int parameterIndex, java.io.InputStream inputStream)voidsetBlob(int parameterIndex, java.io.InputStream inputStream, long length)voidsetBlob(int parameterIndex, java.sql.Blob x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetBoolean(int parameterIndex, boolean x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetByte(int parameterIndex, byte x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetBytes(int parameterIndex, byte[] x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetCharacterStream(int parameterIndex, java.io.Reader reader)voidsetCharacterStream(int parameterIndex, java.io.Reader x, int length)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetCharacterStream(int parameterIndex, java.io.Reader reader, long length)voidsetClob(int parameterIndex, java.io.Reader reader)voidsetClob(int parameterIndex, java.io.Reader reader, long length)voidsetClob(int parameterIndex, java.sql.Clob x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetDate(int parameterIndex, java.sql.Date x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetDouble(int parameterIndex, double x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetFloat(int parameterIndex, float x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetInt(int parameterIndex, int x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetLong(int parameterIndex, long x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetNCharacterStream(int parameterIndex, java.io.Reader value)voidsetNCharacterStream(int parameterIndex, java.io.Reader value, long length)voidsetNClob(int parameterIndex, java.io.Reader reader)voidsetNClob(int parameterIndex, java.io.Reader reader, long length)voidsetNClob(int parameterIndex, java.sql.NClob value)voidsetNString(int parameterIndex, java.lang.String value)voidsetNull(int parameterIndex, int sqlType)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetNull(int parameterIndex, int sqlType, java.lang.String typeName)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetObject(int parameterIndex, java.lang.Object x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetObject(int parameterIndex, java.lang.Object x, int targetSqlType)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scale)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetPoolable(boolean poolable)voidsetRef(int parameterIndex, java.sql.Ref x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetRowId(int parameterIndex, java.sql.RowId x)voidsetShort(int parameterIndex, short x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetSQLXML(int parameterIndex, java.sql.SQLXML xmlObject)voidsetString(int parameterIndex, java.lang.String x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetTime(int parameterIndex, java.sql.Time x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetTimestamp(int parameterIndex, java.sql.Timestamp x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetUnicodeStream(int parameterIndex, java.io.InputStream x, int length)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.voidsetURL(int parameterIndex, java.net.URL x)Delgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.java.lang.Objectunwrap(java.lang.Class arg0)-
Methods inherited from class net.sourceforge.jtds.jdbcx.proxy.StatementProxy
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isCloseOnCompletion, processSQLException, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, validateConnection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject
-
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isCloseOnCompletion, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setQueryTimeout
-
-
-
-
Field Detail
-
_preparedStatement
private JtdsPreparedStatement _preparedStatement
-
-
Constructor Detail
-
PreparedStatementProxy
PreparedStatementProxy(ConnectionProxy connection, JtdsPreparedStatement preparedStatement)
-
-
Method Detail
-
executeQuery
public java.sql.ResultSet executeQuery() throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
executeQueryin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
executeUpdate
public int executeUpdate() throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
executeUpdatein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setNull
public void setNull(int parameterIndex, int sqlType) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setNullin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setBoolean
public void setBoolean(int parameterIndex, boolean x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setBooleanin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setByte
public void setByte(int parameterIndex, byte x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setBytein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setShort
public void setShort(int parameterIndex, short x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setShortin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setInt
public void setInt(int parameterIndex, int x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setIntin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setLong
public void setLong(int parameterIndex, long x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setLongin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setFloat
public void setFloat(int parameterIndex, float x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setFloatin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setDouble
public void setDouble(int parameterIndex, double x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setDoublein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setBigDecimal
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setBigDecimalin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setString
public void setString(int parameterIndex, java.lang.String x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setStringin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setBytes
public void setBytes(int parameterIndex, byte[] x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setBytesin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setDate
public void setDate(int parameterIndex, java.sql.Date x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setDatein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setTime
public void setTime(int parameterIndex, java.sql.Time x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setTimein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setTimestampin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setAsciiStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setUnicodeStream
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setUnicodeStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setBinaryStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
clearParameters
public void clearParameters() throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
clearParametersin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scale) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setObject
public void setObject(int parameterIndex, java.lang.Object x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
execute
public boolean execute() throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
executein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
addBatch
public void addBatch() throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
addBatchin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader x, int length) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setRef
public void setRef(int parameterIndex, java.sql.Ref x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setRefin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setBlob
public void setBlob(int parameterIndex, java.sql.Blob x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setBlobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setClob
public void setClob(int parameterIndex, java.sql.Clob x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setArray
public void setArray(int parameterIndex, java.sql.Array x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setArrayin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
getMetaData
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
getMetaDatain interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setDate
public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setDatein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setTime
public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setTimein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setTimestampin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setNull
public void setNull(int parameterIndex, int sqlType, java.lang.String typeName) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setNullin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setURL
public void setURL(int parameterIndex, java.net.URL x) throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
setURLin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
getParameterMetaData
public java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLExceptionDelgates calls to the prepared statement; SQLExceptions thrown from the prepared statement will cause an event to be fired on the connection pool listeners.- Specified by:
getParameterMetaDatain interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException- if an error occurs
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(int parameterIndex, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(int parameterIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setClob
public void setClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setClob
public void setClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, java.io.Reader value) throws java.sql.SQLException- Specified by:
setNCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, java.io.Reader value, long length) throws java.sql.SQLException- Specified by:
setNCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(int parameterIndex, java.sql.NClob value) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNString
public void setNString(int parameterIndex, java.lang.String value) throws java.sql.SQLException- Specified by:
setNStringin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setRowId
public void setRowId(int parameterIndex, java.sql.RowId x) throws java.sql.SQLException- Specified by:
setRowIdin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setSQLXML
public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
setSQLXMLin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
isClosed
public boolean isClosed() throws java.sql.SQLException- Specified by:
isClosedin interfacejava.sql.Statement- Overrides:
isClosedin classStatementProxy- Throws:
java.sql.SQLException
-
isPoolable
public boolean isPoolable() throws java.sql.SQLException- Specified by:
isPoolablein interfacejava.sql.Statement- Overrides:
isPoolablein classStatementProxy- Throws:
java.sql.SQLException
-
setPoolable
public void setPoolable(boolean poolable) throws java.sql.SQLException- Specified by:
setPoolablein interfacejava.sql.Statement- Overrides:
setPoolablein classStatementProxy- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class arg0) throws java.sql.SQLException- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Overrides:
isWrapperForin classStatementProxy- Throws:
java.sql.SQLException
-
unwrap
public java.lang.Object unwrap(java.lang.Class arg0) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Overrides:
unwrapin classStatementProxy- Throws:
java.sql.SQLException
-
-