com.shift.framework.persistance
Class CallableStatementFactory

java.lang.Object
  extended by com.shift.framework.persistance.CallableStatementFactory
All Implemented Interfaces:
java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement, java.sql.Wrapper

public class CallableStatementFactory
extends java.lang.Object
implements java.sql.CallableStatement


Field Summary
 
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
 
Constructor Summary
CallableStatementFactory(java.sql.CallableStatement cstmt)
           
CallableStatementFactory(java.sql.CallableStatement cstmt, java.lang.String sql)
           
 
Method Summary
 void addBatch()
           
 void addBatch(java.lang.String sql)
           
 void cancel()
           
 void clearBatch()
           
 void clearParameters()
           
 void clearWarnings()
           
 void close()
           
 boolean execute()
           
 boolean execute(java.lang.String sql)
           
 boolean execute(java.lang.String sql, int i)
           
 boolean execute(java.lang.String sql, int[] ai)
           
 boolean execute(java.lang.String sql, java.lang.String[] as)
           
 int[] executeBatch()
           
 java.sql.ResultSet executeQuery()
           
 java.sql.ResultSet executeQuery(java.lang.String sql)
           
 int executeUpdate()
           
 int executeUpdate(java.lang.String sql)
           
 int executeUpdate(java.lang.String sql, int i)
           
 int executeUpdate(java.lang.String sql, int[] ai)
           
 int executeUpdate(java.lang.String sql, java.lang.String[] as)
           
 java.sql.Array getArray(int i)
           
 java.sql.Array getArray(java.lang.String s)
           
 java.math.BigDecimal getBigDecimal(int i)
           
 java.math.BigDecimal getBigDecimal(int i, int j)
          Deprecated.  
 java.math.BigDecimal getBigDecimal(java.lang.String s)
           
 java.sql.Blob getBlob(int i)
           
 java.sql.Blob getBlob(java.lang.String s)
           
 boolean getBoolean(int i)
           
 boolean getBoolean(java.lang.String s)
           
 byte getByte(int i)
           
 byte getByte(java.lang.String s)
           
 byte[] getBytes(int i)
           
 byte[] getBytes(java.lang.String s)
           
 java.sql.Clob getClob(int i)
           
 java.sql.Clob getClob(java.lang.String s)
           
 java.sql.Connection getConnection()
           
 java.sql.Date getDate(int i)
           
 java.sql.Date getDate(int i, java.util.Calendar calendar)
           
 java.sql.Date getDate(java.lang.String s)
           
 java.sql.Date getDate(java.lang.String s, java.util.Calendar calendar)
           
 double getDouble(int i)
           
 double getDouble(java.lang.String s)
           
 int getFetchDirection()
           
 int getFetchSize()
           
 float getFloat(int i)
           
 float getFloat(java.lang.String s)
           
 java.sql.ResultSet getGeneratedKeys()
           
 int getInt(int i)
           
 int getInt(java.lang.String s)
           
 long getLong(int i)
           
 long getLong(java.lang.String s)
           
 int getMaxFieldSize()
           
 int getMaxRows()
           
 java.sql.ResultSetMetaData getMetaData()
           
 boolean getMoreResults()
           
 boolean getMoreResults(int i)
           
 java.lang.Object getObject(int i)
           
 java.lang.Object getObject(int i, java.util.Map map)
           
 java.lang.Object getObject(java.lang.String s)
           
 java.lang.Object getObject(java.lang.String s, java.util.Map map)
           
 java.sql.ParameterMetaData getParameterMetaData()
           
 int getQueryTimeout()
           
 java.sql.Ref getRef(int i)
           
 java.sql.Ref getRef(java.lang.String s)
           
 java.sql.ResultSet getResultSet()
           
 int getResultSetConcurrency()
           
 int getResultSetHoldability()
           
 int getResultSetType()
           
 short getShort(int i)
           
 short getShort(java.lang.String s)
           
 java.lang.String getString(int i)
           
 java.lang.String getString(java.lang.String s)
           
 java.lang.String getStrSqlType(int sqlType)
           
 java.sql.Time getTime(int i)
           
 java.sql.Time getTime(int i, java.util.Calendar calendar)
           
 java.sql.Time getTime(java.lang.String s)
           
 java.sql.Time getTime(java.lang.String s, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(int i)
           
 java.sql.Timestamp getTimestamp(int i, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(java.lang.String s)
           
 java.sql.Timestamp getTimestamp(java.lang.String s, java.util.Calendar calendar)
           
 int getUpdateCount()
           
 java.net.URL getURL(int i)
           
 java.net.URL getURL(java.lang.String s)
           
 java.sql.SQLWarning getWarnings()
           
 java.lang.String logBatchQuery()
           
 java.lang.String logQuery()
           
 void registerOutParameter(int i, int sqlType)
           
 void registerOutParameter(int i, int sqlType, int k)
           
 void registerOutParameter(int i, int sqlType, java.lang.String s)
           
 void registerOutParameter(java.lang.String s, int sqlType)
           
 void registerOutParameter(java.lang.String s, int sqlType, int j)
           
 void registerOutParameter(java.lang.String s, int sqlType, java.lang.String s1)
           
 void setArray(int i, java.sql.Array array)
           
 void setAsciiStream(int i, java.io.InputStream inputstream, int j)
           
 void setAsciiStream(java.lang.String s, java.io.InputStream inputstream, int i)
           
 void setBigDecimal(int i, java.math.BigDecimal bigdecimal)
           
 void setBigDecimal(java.lang.String s, java.math.BigDecimal bigdecimal)
           
 void setBinaryStream(int i, java.io.InputStream inputstream, int j)
           
 void setBinaryStream(java.lang.String s, java.io.InputStream inputstream, int i)
           
 void setBlob(int i, java.sql.Blob blob)
           
 void setBoolean(int i, boolean flag)
           
 void setBoolean(java.lang.String s, boolean flag)
           
 void setByte(int i, byte byte0)
           
 void setByte(java.lang.String s, byte byte0)
           
 void setBytes(int i, byte[] abyte0)
           
 void setBytes(java.lang.String s, byte[] abyte0)
           
 void setCharacterStream(int i, java.io.Reader reader, int j)
           
 void setCharacterStream(java.lang.String s, java.io.Reader reader, int i)
           
 void setClob(int i, java.sql.Clob clob)
           
 void setCursorName(java.lang.String s)
           
 void setDate(int i, java.sql.Date date)
           
 void setDate(int i, java.sql.Date date, java.util.Calendar calendar)
           
 void setDate(java.lang.String s, java.sql.Date date)
           
 void setDate(java.lang.String s, java.sql.Date date, java.util.Calendar calendar)
           
 void setDouble(int i, double d)
           
 void setDouble(java.lang.String s, double d)
           
 void setEscapeProcessing(boolean flag)
           
 void setFetchDirection(int i)
           
 void setFetchSize(int i)
           
 void setFloat(int i, float f)
           
 void setFloat(java.lang.String s, float f)
           
 void setInt(int i, int j)
           
 void setInt(java.lang.String s, int i)
           
 void setLong(int i, long l)
           
 void setLong(java.lang.String s, long l)
           
 void setMaxFieldSize(int i)
           
 void setMaxRows(int i)
           
 void setNull(int i, int j)
           
 void setNull(int i, int j, java.lang.String s)
           
 void setNull(java.lang.String s, int i)
           
 void setNull(java.lang.String s, int i, java.lang.String s1)
           
 void setObject(int i, java.lang.Object obj)
           
 void setObject(int i, java.lang.Object obj, int j)
           
 void setObject(int i, java.lang.Object obj, int j, int k)
           
 void setObject(java.lang.String s, java.lang.Object obj)
           
 void setObject(java.lang.String s, java.lang.Object obj, int i)
           
 void setObject(java.lang.String s, java.lang.Object obj, int i, int j)
           
 void setQueryTimeout(int i)
           
 void setRef(int i, java.sql.Ref ref)
           
 void setShort(int i, short word0)
           
 void setShort(java.lang.String s, short word0)
           
 void setString(int i, java.lang.String s)
           
 void setString(java.lang.String s, java.lang.String s1)
           
 void setTime(int i, java.sql.Time time)
           
 void setTime(int i, java.sql.Time time, java.util.Calendar calendar)
           
 void setTime(java.lang.String s, java.sql.Time time)
           
 void setTime(java.lang.String s, java.sql.Time time, java.util.Calendar calendar)
           
 void setTimestamp(int i, java.sql.Timestamp timestamp)
           
 void setTimestamp(int i, java.sql.Timestamp timestamp, java.util.Calendar calendar)
           
 void setTimestamp(java.lang.String s, java.sql.Timestamp timestamp)
           
 void setTimestamp(java.lang.String s, java.sql.Timestamp timestamp, java.util.Calendar calendar)
           
 void setUnicodeStream(int i, java.io.InputStream inputstream, int j)
          Deprecated.  
 void setURL(int i, java.net.URL url)
           
 void setURL(java.lang.String s, java.net.URL url)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.CallableStatement
getCharacterStream, getCharacterStream, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXML
 
Methods inherited from interface java.sql.PreparedStatement
setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXML
 
Methods inherited from interface java.sql.Statement
isClosed, isPoolable, setPoolable
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

CallableStatementFactory

public CallableStatementFactory(java.sql.CallableStatement cstmt)

CallableStatementFactory

public CallableStatementFactory(java.sql.CallableStatement cstmt,
                                java.lang.String sql)
Method Detail

getArray

public java.sql.Array getArray(int i)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(java.lang.String s)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int i)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String s)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int i,
                                          int j)
                                   throws java.sql.SQLException
Deprecated. 

Specified by:
getBigDecimal in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(int i)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(java.lang.String s)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(int i)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(java.lang.String s)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getByte

public byte getByte(int i)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getByte

public byte getByte(java.lang.String s)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(int i)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(java.lang.String s)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(int i)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(java.lang.String s)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int i)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String s)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int i,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String s,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDouble

public double getDouble(int i)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDouble

public double getDouble(java.lang.String s)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getFloat

public float getFloat(int i)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getFloat

public float getFloat(java.lang.String s)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getInt

public int getInt(int i)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getInt

public int getInt(java.lang.String s)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getLong

public long getLong(int i)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getLong

public long getLong(java.lang.String s)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int i)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String s)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int i,
                                  java.util.Map map)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String s,
                                  java.util.Map map)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(int i)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(java.lang.String s)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getShort

public short getShort(int i)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getShort

public short getShort(java.lang.String s)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getString

public java.lang.String getString(int i)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getString

public java.lang.String getString(java.lang.String s)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int i)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String s)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int i,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String s,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int i)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String s)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int i,
                                       java.util.Calendar calendar)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String s,
                                       java.util.Calendar calendar)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(int i)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(java.lang.String s)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(int i,
                                 int sqlType)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(int i,
                                 int sqlType,
                                 int k)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(int i,
                                 int sqlType,
                                 java.lang.String s)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(java.lang.String s,
                                 int sqlType)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(java.lang.String s,
                                 int sqlType,
                                 int j)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(java.lang.String s,
                                 int sqlType,
                                 java.lang.String s1)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(java.lang.String s,
                           java.io.InputStream inputstream,
                           int i)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setBigDecimal

public void setBigDecimal(java.lang.String s,
                          java.math.BigDecimal bigdecimal)
                   throws java.sql.SQLException
Specified by:
setBigDecimal in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(java.lang.String s,
                            java.io.InputStream inputstream,
                            int i)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setBoolean

public void setBoolean(java.lang.String s,
                       boolean flag)
                throws java.sql.SQLException
Specified by:
setBoolean in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setByte

public void setByte(java.lang.String s,
                    byte byte0)
             throws java.sql.SQLException
Specified by:
setByte in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setBytes

public void setBytes(java.lang.String s,
                     byte[] abyte0)
              throws java.sql.SQLException
Specified by:
setBytes in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(java.lang.String s,
                               java.io.Reader reader,
                               int i)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setDate

public void setDate(java.lang.String s,
                    java.sql.Date date)
             throws java.sql.SQLException
Specified by:
setDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setDate

public void setDate(java.lang.String s,
                    java.sql.Date date,
                    java.util.Calendar calendar)
             throws java.sql.SQLException
Specified by:
setDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setDouble

public void setDouble(java.lang.String s,
                      double d)
               throws java.sql.SQLException
Specified by:
setDouble in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setFloat

public void setFloat(java.lang.String s,
                     float f)
              throws java.sql.SQLException
Specified by:
setFloat in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setInt

public void setInt(java.lang.String s,
                   int i)
            throws java.sql.SQLException
Specified by:
setInt in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setLong

public void setLong(java.lang.String s,
                    long l)
             throws java.sql.SQLException
Specified by:
setLong in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setNull

public void setNull(java.lang.String s,
                    int i)
             throws java.sql.SQLException
Specified by:
setNull in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setNull

public void setNull(java.lang.String s,
                    int i,
                    java.lang.String s1)
             throws java.sql.SQLException
Specified by:
setNull in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setObject

public void setObject(java.lang.String s,
                      java.lang.Object obj)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setObject

public void setObject(java.lang.String s,
                      java.lang.Object obj,
                      int i)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setObject

public void setObject(java.lang.String s,
                      java.lang.Object obj,
                      int i,
                      int j)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setShort

public void setShort(java.lang.String s,
                     short word0)
              throws java.sql.SQLException
Specified by:
setShort in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setString

public void setString(java.lang.String s,
                      java.lang.String s1)
               throws java.sql.SQLException
Specified by:
setString in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setTime

public void setTime(java.lang.String s,
                    java.sql.Time time)
             throws java.sql.SQLException
Specified by:
setTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setTime

public void setTime(java.lang.String s,
                    java.sql.Time time,
                    java.util.Calendar calendar)
             throws java.sql.SQLException
Specified by:
setTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setTimestamp

public void setTimestamp(java.lang.String s,
                         java.sql.Timestamp timestamp)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setTimestamp

public void setTimestamp(java.lang.String s,
                         java.sql.Timestamp timestamp,
                         java.util.Calendar calendar)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setURL

public void setURL(java.lang.String s,
                   java.net.URL url)
            throws java.sql.SQLException
Specified by:
setURL in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Specified by:
wasNull in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

addBatch

public void addBatch()
              throws java.sql.SQLException
Specified by:
addBatch in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

clearParameters

public void clearParameters()
                     throws java.sql.SQLException
Specified by:
clearParameters in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

execute

public boolean execute()
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery()
                                throws java.sql.SQLException
Specified by:
executeQuery in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate()
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException
Specified by:
getMetaData in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

getParameterMetaData

public java.sql.ParameterMetaData getParameterMetaData()
                                                throws java.sql.SQLException
Specified by:
getParameterMetaData in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setArray

public void setArray(int i,
                     java.sql.Array array)
              throws java.sql.SQLException
Specified by:
setArray in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(int i,
                           java.io.InputStream inputstream,
                           int j)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setBigDecimal

public void setBigDecimal(int i,
                          java.math.BigDecimal bigdecimal)
                   throws java.sql.SQLException
Specified by:
setBigDecimal in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(int i,
                            java.io.InputStream inputstream,
                            int j)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setBlob

public void setBlob(int i,
                    java.sql.Blob blob)
             throws java.sql.SQLException
Specified by:
setBlob in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setBoolean

public void setBoolean(int i,
                       boolean flag)
                throws java.sql.SQLException
Specified by:
setBoolean in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setByte

public void setByte(int i,
                    byte byte0)
             throws java.sql.SQLException
Specified by:
setByte in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setBytes

public void setBytes(int i,
                     byte[] abyte0)
              throws java.sql.SQLException
Specified by:
setBytes in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(int i,
                               java.io.Reader reader,
                               int j)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setClob

public void setClob(int i,
                    java.sql.Clob clob)
             throws java.sql.SQLException
Specified by:
setClob in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setDate

public void setDate(int i,
                    java.sql.Date date)
             throws java.sql.SQLException
Specified by:
setDate in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setDate

public void setDate(int i,
                    java.sql.Date date,
                    java.util.Calendar calendar)
             throws java.sql.SQLException
Specified by:
setDate in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setDouble

public void setDouble(int i,
                      double d)
               throws java.sql.SQLException
Specified by:
setDouble in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setFloat

public void setFloat(int i,
                     float f)
              throws java.sql.SQLException
Specified by:
setFloat in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setInt

public void setInt(int i,
                   int j)
            throws java.sql.SQLException
Specified by:
setInt in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setLong

public void setLong(int i,
                    long l)
             throws java.sql.SQLException
Specified by:
setLong in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setNull

public void setNull(int i,
                    int j)
             throws java.sql.SQLException
Specified by:
setNull in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setNull

public void setNull(int i,
                    int j,
                    java.lang.String s)
             throws java.sql.SQLException
Specified by:
setNull in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setObject

public void setObject(int i,
                      java.lang.Object obj)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setObject

public void setObject(int i,
                      java.lang.Object obj,
                      int j)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setObject

public void setObject(int i,
                      java.lang.Object obj,
                      int j,
                      int k)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setRef

public void setRef(int i,
                   java.sql.Ref ref)
            throws java.sql.SQLException
Specified by:
setRef in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setShort

public void setShort(int i,
                     short word0)
              throws java.sql.SQLException
Specified by:
setShort in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setString

public void setString(int i,
                      java.lang.String s)
               throws java.sql.SQLException
Specified by:
setString in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setTime

public void setTime(int i,
                    java.sql.Time time)
             throws java.sql.SQLException
Specified by:
setTime in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setTime

public void setTime(int i,
                    java.sql.Time time,
                    java.util.Calendar calendar)
             throws java.sql.SQLException
Specified by:
setTime in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setTimestamp

public void setTimestamp(int i,
                         java.sql.Timestamp timestamp)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setTimestamp

public void setTimestamp(int i,
                         java.sql.Timestamp timestamp,
                         java.util.Calendar calendar)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setURL

public void setURL(int i,
                   java.net.URL url)
            throws java.sql.SQLException
Specified by:
setURL in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

setUnicodeStream

public void setUnicodeStream(int i,
                             java.io.InputStream inputstream,
                             int j)
                      throws java.sql.SQLException
Deprecated. 

Specified by:
setUnicodeStream in interface java.sql.PreparedStatement
Throws:
java.sql.SQLException

addBatch

public void addBatch(java.lang.String sql)
              throws java.sql.SQLException
Specified by:
addBatch in interface java.sql.Statement
Throws:
java.sql.SQLException

cancel

public void cancel()
            throws java.sql.SQLException
Specified by:
cancel in interface java.sql.Statement
Throws:
java.sql.SQLException

clearBatch

public void clearBatch()
                throws java.sql.SQLException
Specified by:
clearBatch in interface java.sql.Statement
Throws:
java.sql.SQLException

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
Specified by:
clearWarnings in interface java.sql.Statement
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface java.sql.Statement
Throws:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql)
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.Statement
Throws:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql,
                       int i)
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.Statement
Throws:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql,
                       int[] ai)
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.Statement
Throws:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql,
                       java.lang.String[] as)
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.Statement
Throws:
java.sql.SQLException

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
Specified by:
executeBatch in interface java.sql.Statement
Throws:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String sql)
                                throws java.sql.SQLException
Specified by:
executeQuery in interface java.sql.Statement
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql)
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.Statement
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql,
                         int i)
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.Statement
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql,
                         int[] ai)
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.Statement
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql,
                         java.lang.String[] as)
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.Statement
Throws:
java.sql.SQLException

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Specified by:
getConnection in interface java.sql.Statement
Throws:
java.sql.SQLException

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
Specified by:
getFetchDirection in interface java.sql.Statement
Throws:
java.sql.SQLException

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
Specified by:
getFetchSize in interface java.sql.Statement
Throws:
java.sql.SQLException

getGeneratedKeys

public java.sql.ResultSet getGeneratedKeys()
                                    throws java.sql.SQLException
Specified by:
getGeneratedKeys in interface java.sql.Statement
Throws:
java.sql.SQLException

getMaxFieldSize

public int getMaxFieldSize()
                    throws java.sql.SQLException
Specified by:
getMaxFieldSize in interface java.sql.Statement
Throws:
java.sql.SQLException

getMaxRows

public int getMaxRows()
               throws java.sql.SQLException
Specified by:
getMaxRows in interface java.sql.Statement
Throws:
java.sql.SQLException

getMoreResults

public boolean getMoreResults()
                       throws java.sql.SQLException
Specified by:
getMoreResults in interface java.sql.Statement
Throws:
java.sql.SQLException

getMoreResults

public boolean getMoreResults(int i)
                       throws java.sql.SQLException
Specified by:
getMoreResults in interface java.sql.Statement
Throws:
java.sql.SQLException

getQueryTimeout

public int getQueryTimeout()
                    throws java.sql.SQLException
Specified by:
getQueryTimeout in interface java.sql.Statement
Throws:
java.sql.SQLException

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
Specified by:
getResultSet in interface java.sql.Statement
Throws:
java.sql.SQLException

getResultSetConcurrency

public int getResultSetConcurrency()
                            throws java.sql.SQLException
Specified by:
getResultSetConcurrency in interface java.sql.Statement
Throws:
java.sql.SQLException

getResultSetHoldability

public int getResultSetHoldability()
                            throws java.sql.SQLException
Specified by:
getResultSetHoldability in interface java.sql.Statement
Throws:
java.sql.SQLException

getResultSetType

public int getResultSetType()
                     throws java.sql.SQLException
Specified by:
getResultSetType in interface java.sql.Statement
Throws:
java.sql.SQLException

getUpdateCount

public int getUpdateCount()
                   throws java.sql.SQLException
Specified by:
getUpdateCount in interface java.sql.Statement
Throws:
java.sql.SQLException

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
Specified by:
getWarnings in interface java.sql.Statement
Throws:
java.sql.SQLException

setCursorName

public void setCursorName(java.lang.String s)
                   throws java.sql.SQLException
Specified by:
setCursorName in interface java.sql.Statement
Throws:
java.sql.SQLException

setEscapeProcessing

public void setEscapeProcessing(boolean flag)
                         throws java.sql.SQLException
Specified by:
setEscapeProcessing in interface java.sql.Statement
Throws:
java.sql.SQLException

setFetchDirection

public void setFetchDirection(int i)
                       throws java.sql.SQLException
Specified by:
setFetchDirection in interface java.sql.Statement
Throws:
java.sql.SQLException

setFetchSize

public void setFetchSize(int i)
                  throws java.sql.SQLException
Specified by:
setFetchSize in interface java.sql.Statement
Throws:
java.sql.SQLException

setMaxFieldSize

public void setMaxFieldSize(int i)
                     throws java.sql.SQLException
Specified by:
setMaxFieldSize in interface java.sql.Statement
Throws:
java.sql.SQLException

setMaxRows

public void setMaxRows(int i)
                throws java.sql.SQLException
Specified by:
setMaxRows in interface java.sql.Statement
Throws:
java.sql.SQLException

setQueryTimeout

public void setQueryTimeout(int i)
                     throws java.sql.SQLException
Specified by:
setQueryTimeout in interface java.sql.Statement
Throws:
java.sql.SQLException

logQuery

public java.lang.String logQuery()

logBatchQuery

public java.lang.String logBatchQuery()

getStrSqlType

public java.lang.String getStrSqlType(int sqlType)