br.ufg.integrate.jdbc
Class PreparedStatementImpl

java.lang.Object
  extended by br.ufg.integrate.jdbc.StatementImpl
      extended by br.ufg.integrate.jdbc.PreparedStatementImpl
All Implemented Interfaces:
Constants, PreparedStatement, Statement, Wrapper
Direct Known Subclasses:
CallableStatementImpl

public class PreparedStatementImpl
extends StatementImpl
implements PreparedStatement

Version:
0.1 Adapted from xlSQL.
Author:
Rogerio

Field Summary
 
Fields inherited from class br.ufg.integrate.jdbc.StatementImpl
conn
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Fields inherited from interface br.ufg.integrate.util.Constants
DB_MAJOR_VERSION, DB_MINOR_VERSION, DRIVER_CLASS, DRIVER_MAJOR_VERSION, DRIVER_MINOR_VERSION, DRIVER_NAME, DRIVER_RELEASE, INTEGRATE_CONFIG_FILE, JDBC_COMPLIANT, JDBC_MAJOR_VERSION, JDBC_MINOR_VERSION, PRODUCT_NAME, PRODUCT_RELEASE, URL_PREFIX
 
Constructor Summary
protected PreparedStatementImpl(ConnectionImpl con, PreparedStatement pstm, Integration i)
          Create a new PreparedStatementImpl object.
 
Method Summary
 void addBatch()
          Implements method in interface java.sql.PreparedStatement
 void clearParameters()
          Implements method in interface java.sql.PreparedStatement
 boolean execute()
          Implements method in interface java.sql.PreparedStatement
 ResultSet executeQuery()
          Implements method in interface java.sql.PreparedStatement
 int executeUpdate()
          Implements method in interface java.sql.PreparedStatement
 ResultSetMetaData getMetaData()
          Implements method in interface java.sql.PreparedStatement
 ParameterMetaData getParameterMetaData()
          Implements method in interface java.sql.PreparedStatement
 boolean isClosed()
          Implements method in interface java.sql.PreparedStatement
 boolean isPoolable()
          Implements method in interface java.sql.PreparedStatement
 boolean isWrapperFor(Class iface)
          Implements method in interface java.sql.PreparedStatement
 void setArray(int i, Array x)
          Implements method in interface java.sql.PreparedStatement
 void setAsciiStream(int parameterIndex, InputStream x)
          Implements method in interface java.sql.PreparedStatement
 void setAsciiStream(int parameterIndex, InputStream x, int length)
          Implements method in interface java.sql.PreparedStatement
 void setAsciiStream(int parameterIndex, InputStream x, long y)
          Implements method in interface java.sql.PreparedStatement
 void setBigDecimal(int parameterIndex, BigDecimal x)
          Implements method in interface java.sql.PreparedStatement
 void setBinaryStream(int parameterIndex, InputStream x)
          Implements method in interface java.sql.PreparedStatement
 void setBinaryStream(int parameterIndex, InputStream x, int length)
          Implements method in interface java.sql.PreparedStatement
 void setBinaryStream(int parameterIndex, InputStream x, long y)
          Implements method in interface java.sql.PreparedStatement
 void setBlob(int i, Blob x)
          Implements method in interface java.sql.PreparedStatement
 void setBlob(int i, InputStream x)
          Implements method in interface java.sql.PreparedStatement
 void setBlob(int i, InputStream x, long y)
          Implements method in interface java.sql.PreparedStatement
 void setBoolean(int parameterIndex, boolean x)
          Implements method in interface java.sql.PreparedStatement
 void setByte(int parameterIndex, byte x)
          Implements method in interface java.sql.PreparedStatement
 void setBytes(int parameterIndex, byte[] x)
          Implements method in interface java.sql.PreparedStatement
 void setCharacterStream(int parameterIndex, Reader reader)
          Implements method in interface java.sql.PreparedStatement
 void setCharacterStream(int parameterIndex, Reader reader, int length)
          Implements method in interface java.sql.PreparedStatement
 void setCharacterStream(int parameterIndex, Reader reader, long length)
          Implements method in interface java.sql.PreparedStatement
 void setClob(int i, Clob x)
          Implements method in interface java.sql.PreparedStatement
 void setClob(int i, Reader reader)
          Implements method in interface java.sql.PreparedStatement
 void setClob(int i, Reader reader, long length)
          Implements method in interface java.sql.PreparedStatement
 void setCursorName(String name)
          Implements method in interface java.sql.PreparedStatement
 void setDate(int parameterIndex, Date x)
          Implements method in interface java.sql.PreparedStatement
 void setDate(int parameterIndex, Date x, Calendar cal)
          Implements method in interface java.sql.PreparedStatement
 void setDouble(int parameterIndex, double x)
          Implements method in interface java.sql.PreparedStatement
 void setFloat(int parameterIndex, float x)
          Implements method in interface java.sql.PreparedStatement
 void setInt(int parameterIndex, int x)
          Implements method in interface java.sql.PreparedStatement
 void setLong(int parameterIndex, long x)
          Implements method in interface java.sql.PreparedStatement
 void setNCharacterStream(int parameterIndex, Reader reader)
          Implements method in interface java.sql.PreparedStatement
 void setNCharacterStream(int parameterIndex, Reader reader, long length)
          Implements method in interface java.sql.PreparedStatement
 void setNClob(int parameterIndex, NClob value)
          Implements method in interface java.sql.PreparedStatement
 void setNClob(int parameterIndex, Reader reader)
          Implements method in interface java.sql.PreparedStatement
 void setNClob(int parameterIndex, Reader reader, long length)
          Implements method in interface java.sql.PreparedStatement
 void setNString(int parameterIndex, String value)
          Implements method in interface java.sql.PreparedStatement
 void setNull(int parameterIndex, int sqlType)
          Implements method in interface java.sql.PreparedStatement
 void setNull(int paramIndex, int sqlType, String typeName)
          Implements method in interface java.sql.PreparedStatement
 void setObject(int parameterIndex, Object x)
          Implements method in interface java.sql.PreparedStatement
 void setObject(int parameterIndex, Object x, int targetSqlType)
          Implements method in interface java.sql.PreparedStatement
 void setObject(int parameterIndex, Object x, int targetSqlType, int scale)
          Implements method in interface java.sql.PreparedStatement
 void setPoolable(boolean flag)
          Implements method in interface java.sql.PreparedStatement
 void setRef(int i, Ref x)
          Implements method in interface java.sql.PreparedStatement
 void setRowId(int parameterIndex, RowId x)
          Implements method in interface java.sql.PreparedStatement
 void setShort(int parameterIndex, short x)
          Implements method in interface java.sql.PreparedStatement
 void setSQLXML(int parameterIndex, SQLXML xmlObject)
          Implements method in interface java.sql.PreparedStatement
 void setString(int parameterIndex, String x)
          Implements method in interface java.sql.PreparedStatement
 void setTime(int parameterIndex, Time x)
          Implements method in interface java.sql.PreparedStatement
 void setTime(int parameterIndex, Time x, Calendar cal)
          Implements method in interface java.sql.PreparedStatement
 void setTimestamp(int parameterIndex, Timestamp x)
          Implements method in interface java.sql.PreparedStatement
 void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
          Implements method in interface java.sql.PreparedStatement
 void setUnicodeStream(int parameterIndex, InputStream x, int length)
          Deprecated.  
 void setURL(int parameterIndex, URL x)
          Implements method in interface java.sql.PreparedStatement
 Object unwrap(Class iface)
          Implements method in interface java.sql.PreparedStatement
 
Methods inherited from class br.ufg.integrate.jdbc.StatementImpl
addBatch, cancel, clearBatch, clearWarnings, close, 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, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, 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, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Constructor Detail

PreparedStatementImpl

protected PreparedStatementImpl(ConnectionImpl con,
                                PreparedStatement pstm,
                                Integration i)
                         throws SQLException
Create a new PreparedStatementImpl object.

Throws:
SQLException
Method Detail

addBatch

public void addBatch()
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
addBatch in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.addBatch()

clearParameters

public void clearParameters()
                     throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
clearParameters in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.clearParameters()

execute

public boolean execute()
                throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
execute in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.execute()

executeQuery

public ResultSet executeQuery()
                       throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
executeQuery in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.executeQuery()

executeUpdate

public int executeUpdate()
                  throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
executeUpdate in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.executeUpdate()

getMetaData

public ResultSetMetaData getMetaData()
                              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
getMetaData in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.getMetaData()

getParameterMetaData

public ParameterMetaData getParameterMetaData()
                                       throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
getParameterMetaData in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.getParameterMetaData()

isClosed

public boolean isClosed()
                 throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
isClosed in interface Statement
Overrides:
isClosed in class StatementImpl
Throws:
SQLException
See Also:
Statement.isClosed()

isPoolable

public boolean isPoolable()
                   throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
isPoolable in interface Statement
Overrides:
isPoolable in class StatementImpl
Throws:
SQLException
See Also:
Statement.isPoolable()

isWrapperFor

public boolean isWrapperFor(Class iface)
                     throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
isWrapperFor in interface Wrapper
Overrides:
isWrapperFor in class StatementImpl
Throws:
SQLException
See Also:
Wrapper.isWrapperFor(java.lang.Class)

setArray

public void setArray(int i,
                     Array x)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setArray in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setArray(int, java.sql.Array)

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           InputStream x)
                    throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setAsciiStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setArray(int, java.sql.Array)

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           InputStream x,
                           int length)
                    throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setAsciiStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setAsciiStream(int, java.io.InputStream, int)

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           InputStream x,
                           long y)
                    throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setAsciiStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setAsciiStream(int, java.io.InputStream, int)

setBigDecimal

public void setBigDecimal(int parameterIndex,
                          BigDecimal x)
                   throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBigDecimal in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBigDecimal(int, java.math.BigDecimal)

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            InputStream x)
                     throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBinaryStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            InputStream x,
                            long y)
                     throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBinaryStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            InputStream x,
                            int length)
                     throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBinaryStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)

setBlob

public void setBlob(int i,
                    Blob x)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBlob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBlob(int, java.sql.Blob)

setBlob

public void setBlob(int i,
                    InputStream x)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBlob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBlob(int, java.sql.Blob)

setBlob

public void setBlob(int i,
                    InputStream x,
                    long y)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBlob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBlob(int, java.sql.Blob)

setBoolean

public void setBoolean(int parameterIndex,
                       boolean x)
                throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBoolean in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBoolean(int, boolean)

setByte

public void setByte(int parameterIndex,
                    byte x)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setByte in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setByte(int, byte)

setBytes

public void setBytes(int parameterIndex,
                     byte[] x)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setBytes in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setBytes(int, byte[])

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               Reader reader,
                               int length)
                        throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setCharacterStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setCharacterStream(int, java.io.Reader, int)

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               Reader reader)
                        throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setCharacterStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setCharacterStream(int, java.io.Reader, int)

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               Reader reader,
                               long length)
                        throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setCharacterStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setCharacterStream(int, java.io.Reader, int)

setClob

public void setClob(int i,
                    Clob x)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setClob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setClob(int, java.sql.Clob)

setClob

public void setClob(int i,
                    Reader reader)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setClob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setClob(int, java.sql.Clob)

setClob

public void setClob(int i,
                    Reader reader,
                    long length)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setClob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setClob(int, java.sql.Clob)

setCursorName

public void setCursorName(String name)
                   throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setCursorName in interface Statement
Overrides:
setCursorName in class StatementImpl
Throws:
SQLException
See Also:
Statement.setCursorName(java.lang.String)

setDate

public void setDate(int parameterIndex,
                    Date x)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setDate in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setDate(int, java.sql.Date)

setDate

public void setDate(int parameterIndex,
                    Date x,
                    Calendar cal)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setDate in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setDate(int, java.sql.Date)

setDouble

public void setDouble(int parameterIndex,
                      double x)
               throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setDouble in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setDouble(int, double)

setFloat

public void setFloat(int parameterIndex,
                     float x)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setFloat in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setFloat(int, float)

setInt

public void setInt(int parameterIndex,
                   int x)
            throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setInt in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setInt(int, int)

setLong

public void setLong(int parameterIndex,
                    long x)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setLong in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setLong(int, long)

setNCharacterStream

public void setNCharacterStream(int parameterIndex,
                                Reader reader)
                         throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNCharacterStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNCharacterStream(int, java.io.Reader, long)

setNCharacterStream

public void setNCharacterStream(int parameterIndex,
                                Reader reader,
                                long length)
                         throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNCharacterStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNCharacterStream(int, java.io.Reader, long)

setNClob

public void setNClob(int parameterIndex,
                     NClob value)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNClob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNClob(int, java.sql.NClob)

setNClob

public void setNClob(int parameterIndex,
                     Reader reader)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNClob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNClob(int, java.sql.NClob)

setNClob

public void setNClob(int parameterIndex,
                     Reader reader,
                     long length)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNClob in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNClob(int, java.sql.NClob)

setNString

public void setNString(int parameterIndex,
                       String value)
                throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNString in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNString(int, java.lang.String)

setNull

public void setNull(int parameterIndex,
                    int sqlType)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNull in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNull(int, int)

setNull

public void setNull(int paramIndex,
                    int sqlType,
                    String typeName)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setNull in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setNull(int, int)

setObject

public void setObject(int parameterIndex,
                      Object x)
               throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setObject in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setObject(int, java.lang.Object, int)

setObject

public void setObject(int parameterIndex,
                      Object x,
                      int targetSqlType)
               throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setObject in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setObject(int, java.lang.Object, int)

setObject

public void setObject(int parameterIndex,
                      Object x,
                      int targetSqlType,
                      int scale)
               throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setObject in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setObject(int, java.lang.Object, int)

setPoolable

public void setPoolable(boolean flag)
                 throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setPoolable in interface Statement
Overrides:
setPoolable in class StatementImpl
Throws:
SQLException
See Also:
Statement.setPoolable(boolean)

setRef

public void setRef(int i,
                   Ref x)
            throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setRef in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setRef(int, java.sql.Ref)

setRowId

public void setRowId(int parameterIndex,
                     RowId x)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setRowId in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setRowId(int, java.sql.RowId)

setShort

public void setShort(int parameterIndex,
                     short x)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setShort in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setShort(int, short)

setSQLXML

public void setSQLXML(int parameterIndex,
                      SQLXML xmlObject)
               throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setSQLXML in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setSQLXML(int, java.sql.SQLXML)

setString

public void setString(int parameterIndex,
                      String x)
               throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setString in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setString(int, java.lang.String)

setTime

public void setTime(int parameterIndex,
                    Time x)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setTime in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setTime(int, java.sql.Time)

setTime

public void setTime(int parameterIndex,
                    Time x,
                    Calendar cal)
             throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setTime in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setTime(int, java.sql.Time)

setTimestamp

public void setTimestamp(int parameterIndex,
                         Timestamp x)
                  throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setTimestamp in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setTimestamp(int, java.sql.Timestamp)

setTimestamp

public void setTimestamp(int parameterIndex,
                         Timestamp x,
                         Calendar cal)
                  throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setTimestamp in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setTimestamp(int, java.sql.Timestamp)

setUnicodeStream

public void setUnicodeStream(int parameterIndex,
                             InputStream x,
                             int length)
                      throws SQLException
Deprecated. 

Implements method in interface java.sql.PreparedStatement

Specified by:
setUnicodeStream in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setUnicodeStream(int, java.io.InputStream, int)

setURL

public void setURL(int parameterIndex,
                   URL x)
            throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
setURL in interface PreparedStatement
Throws:
SQLException
See Also:
PreparedStatement.setURL(int, java.net.URL)

unwrap

public Object unwrap(Class iface)
              throws SQLException
Implements method in interface java.sql.PreparedStatement

Specified by:
unwrap in interface Wrapper
Overrides:
unwrap in class StatementImpl
Throws:
SQLException
See Also:
Wrapper.unwrap(java.lang.Class)


Copyright © 2008 Rogério Arantes Gaioso. All Rights Reserved.