org.sqlite.jdbc
クラス JdbcPreparedStatement

java.lang.Object
  上位を拡張 org.sqlite.jdbc.JdbcStatement
      上位を拡張 org.sqlite.jdbc.JdbcPreparedStatement
すべての実装されたインタフェース:
java.sql.PreparedStatement, java.sql.Statement

public class JdbcPreparedStatement
extends JdbcStatement
implements java.sql.PreparedStatement


フィールドの概要
 
クラス org.sqlite.jdbc.JdbcStatement から継承されたフィールド
cntUpdate, db, rs
 
インタフェース java.sql.Statement から継承されたフィールド
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
コンストラクタの概要
JdbcPreparedStatement(Database db, JdbcConnection conn, java.lang.String sql)
           
 
メソッドの概要
 void addBatch()
           
 void clearBatch()
           
 void clearParameters()
           
 void close()
           
 void close(java.sql.ResultSet drs)
          ResultSetを切り離してPrepaeredStatementをcloseする。
 void detach(java.sql.ResultSet drs)
          PreparedStatement#close()時にResultSetが一緒にcloseされないようにResultSetを切り離す。
 boolean execute()
           
 int[] executeBatch()
           
 java.sql.ResultSet executeQuery()
           
 int executeUpdate()
           
protected static int executeUpdate(Statement stmt)
           
protected  void finalize()
           
 int findParameter(java.lang.String parameterName)
          Retrieves the parameter index.
 java.lang.String findParameterName(int parameterIndex)
          Retrieves the parameter name.
 JdbcResultSetMetaData getMetaData()
           
 JdbcParameterMetaData getParameterMetaData()
           
 boolean isClosed()
           
 void setArray(int parameterIndex, java.sql.Array x)
          Not supporetd yet.
 void setAsciiStream(int parameterIndex, java.io.InputStream x, int length)
          Not supporetd yet.
 void setBigDecimal(int parameterIndex, java.math.BigDecimal x)
          invoke BigDecimal#toString() and org.sqlite.Statement#bindText(int, String) method.
 void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal x)
          invoke findParameter(String) and setBigDecimal(int, BigDecimal) method.
 void setBinaryStream(int parameterIndex, java.io.InputStream x, int length)
          Not supporetd yet.
 void setBlob(int parameterIndex, java.sql.Blob x)
          Not supporetd yet.
 void setBlob(java.lang.String parameterName, java.sql.Blob x)
          invoke findParameter(String) and setBlob(int, Blob) method.
 void setBoolean(int parameterIndex, boolean x)
          invoke org.sqlite.Statement#bindInt(int, int) method.
 void setBoolean(java.lang.String parameterName, boolean x)
          invoke findParameter(String) and setBoolean(int, boolean) method.
 void setByte(int parameterIndex, byte x)
          invoke org.sqlite.Statement#bindInt(int, int) method.
 void setByte(java.lang.String parameterName, byte x)
          invoke findParameter(String) and setByte(int, byte) method.
 void setBytes(int parameterIndex, byte[] x)
          invoke org.sqlite.Statement#bindBytes(int, byte[]) method.
 void setBytes(java.lang.String parameterName, byte[] x)
          invoke findParameter(String) and setBytes(int, byte[]) method.
 void setCharacterStream(int parameterIndex, java.io.Reader x, int length)
          Not supporetd yet.
 void setClob(int parameterIndex, java.sql.Clob x)
          Not supporetd yet.
 void setDate(int parameterIndex, java.sql.Date x)
          invoke SQLite3#format(Date) and org.sqlite.Statement#bindText(int, String) method.
 void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)
          invoke setDate(int, Date) method.
 void setDate(java.lang.String parameterName, java.sql.Date x)
          invoke findParameter(String) and setDate(int, Date) method.
 void setDate(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal)
          invoke findParameter(String) and setDate(int, Date, Calendar) method.
 void setDouble(int parameterIndex, double x)
          invoke org.sqlite.Statement#bindDouble(int, double) method.
 void setDouble(java.lang.String parameterName, double x)
          invoke findParameter(String) and setDouble(int, double) method.
 void setFloat(int parameterIndex, float x)
          invoke org.sqlite.Statement#bindDouble(int, double) method.
 void setFloat(java.lang.String parameterName, float x)
          invoke findParameter(String) and setFloat(int, float) method.
 void setInt(int parameterIndex, int x)
          invoke org.sqlite.Statement#bindInt(int, int) method.
 void setInt(java.lang.String parameterName, int x)
          invoke findParameter(String) and setInt(int, int) method.
 void setLong(int parameterIndex, long x)
          invoke org.sqlite.Statement#bindLong(int, long) method.
 void setLong(java.lang.String parameterName, long x)
          invoke findParameter(String) and setLong(int, long) method.
 void setNull(int parameterIndex, int sqlType)
          invoke org.sqlite.Statement#bindNull(int) method.
 void setNull(int parameterIndex, int sqlType, java.lang.String typeName)
          invoke setNull(int, int) method.
 void setNull(java.lang.String parameterName, int sqlType)
          invoke findParameter(String) and setNull(int, int) method.
 void setObject(int parameterIndex, java.lang.Object x)
           
 void setObject(int parameterIndex, java.lang.Object x, int targetSqlType)
           
 void setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength)
           
 void setRef(int parameterIndex, java.sql.Ref x)
          Not supporetd yet.
 void setShort(int parameterIndex, short x)
          invoke org.sqlite.Statement#bindInt(int, int) method.
 void setShort(java.lang.String parameterName, short x)
          invoke findParameter(String) and setShort(int, short) method.
 void setString(int parameterIndex, java.lang.String x)
          invoke org.sqlite.Statement#bindText(int, String) method.
 void setString(java.lang.String parameterName, java.lang.String x)
          invoke findParameter(String) and setString(int, String) method.
 void setTime(int parameterIndex, java.sql.Time x)
          invoke SQLite3#format(Time) and org.sqlite.Statement#bindText(int, String) method.
 void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)
          invoke setTime(int, Time) method.
 void setTime(java.lang.String parameterName, java.sql.Time x)
          invoke findParameter(String) and setTime(int, Time) method.
 void setTime(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal)
          invoke findParameter(String) and setTime(int, Time, Calendar) method.
 void setTimestamp(int parameterIndex, java.sql.Timestamp x)
          invoke SQLite3#format(Timestamp) and org.sqlite.Statement#bindText(int, String) method.
 void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)
          invoke setTimestamp(int, Timestamp) method.
 void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x)
          invoke findParameter(String) and setTimestamp(int, Timestamp) method.
 void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal)
          invoke findParameter(String) and setTimestamp(int, Timestamp, Calendar) method.
 void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length)
          Not supporetd yet.
 void setURL(int parameterIndex, java.net.URL x)
          Not supporetd yet.
static void validateSqlType(int sqlType)
           
 
クラス org.sqlite.jdbc.JdbcStatement から継承されたメソッド
addBatch, cancel, clearWarnings, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLastInsertRowId, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, validateAutoGeneretedKeys, validateCurrentResult, validateStatementOpen, validateStaticSQL
 
クラス java.lang.Object から継承されたメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース java.sql.Statement から継承されたメソッド
addBatch, cancel, clearWarnings, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

コンストラクタの詳細

JdbcPreparedStatement

public JdbcPreparedStatement(Database db,
                             JdbcConnection conn,
                             java.lang.String sql)
                      throws java.sql.SQLException
例外:
java.sql.SQLException
メソッドの詳細

executeQuery

public java.sql.ResultSet executeQuery()
                                throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の executeQuery
例外:
java.sql.SQLException

executeUpdate

public int executeUpdate()
                  throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の executeUpdate
例外:
java.sql.SQLException

setNull

public void setNull(int parameterIndex,
                    int sqlType)
             throws java.sql.SQLException
invoke org.sqlite.Statement#bindNull(int) method.

定義:
インタフェース java.sql.PreparedStatement 内の setNull
パラメータ:
parameterIndex -
sqlType - ignored
例外:
java.sql.SQLException
関連項目:
Statement.bindNull(int)

setBoolean

public void setBoolean(int parameterIndex,
                       boolean x)
                throws java.sql.SQLException
invoke org.sqlite.Statement#bindInt(int, int) method.

定義:
インタフェース java.sql.PreparedStatement 内の setBoolean
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindInt(int, int)

setByte

public void setByte(int parameterIndex,
                    byte x)
             throws java.sql.SQLException
invoke org.sqlite.Statement#bindInt(int, int) method.

定義:
インタフェース java.sql.PreparedStatement 内の setByte
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindInt(int, int)

setShort

public void setShort(int parameterIndex,
                     short x)
              throws java.sql.SQLException
invoke org.sqlite.Statement#bindInt(int, int) method.

定義:
インタフェース java.sql.PreparedStatement 内の setShort
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindInt(int, int)

setInt

public void setInt(int parameterIndex,
                   int x)
            throws java.sql.SQLException
invoke org.sqlite.Statement#bindInt(int, int) method.

定義:
インタフェース java.sql.PreparedStatement 内の setInt
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindInt(int, int)

setLong

public void setLong(int parameterIndex,
                    long x)
             throws java.sql.SQLException
invoke org.sqlite.Statement#bindLong(int, long) method.

定義:
インタフェース java.sql.PreparedStatement 内の setLong
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindLong(int, long)

setFloat

public void setFloat(int parameterIndex,
                     float x)
              throws java.sql.SQLException
invoke org.sqlite.Statement#bindDouble(int, double) method.

定義:
インタフェース java.sql.PreparedStatement 内の setFloat
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindDouble(int, double)

setDouble

public void setDouble(int parameterIndex,
                      double x)
               throws java.sql.SQLException
invoke org.sqlite.Statement#bindDouble(int, double) method.

定義:
インタフェース java.sql.PreparedStatement 内の setDouble
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindDouble(int, double)

setBigDecimal

public void setBigDecimal(int parameterIndex,
                          java.math.BigDecimal x)
                   throws java.sql.SQLException
invoke BigDecimal#toString() and org.sqlite.Statement#bindText(int, String) method.

定義:
インタフェース java.sql.PreparedStatement 内の setBigDecimal
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindText(int, String)

setString

public void setString(int parameterIndex,
                      java.lang.String x)
               throws java.sql.SQLException
invoke org.sqlite.Statement#bindText(int, String) method.

定義:
インタフェース java.sql.PreparedStatement 内の setString
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindText(int, String), Statement.bindNull(int)

setBytes

public void setBytes(int parameterIndex,
                     byte[] x)
              throws java.sql.SQLException
invoke org.sqlite.Statement#bindBytes(int, byte[]) method.

定義:
インタフェース java.sql.PreparedStatement 内の setBytes
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
Statement.bindBytes(int, byte[]), Statement.bindNull(int)

setDate

public void setDate(int parameterIndex,
                    java.sql.Date x)
             throws java.sql.SQLException
invoke SQLite3#format(Date) and org.sqlite.Statement#bindText(int, String) method.

定義:
インタフェース java.sql.PreparedStatement 内の setDate
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
SQLite3.format(Date), Statement.bindText(int, String), Statement.bindNull(int)

setTime

public void setTime(int parameterIndex,
                    java.sql.Time x)
             throws java.sql.SQLException
invoke SQLite3#format(Time) and org.sqlite.Statement#bindText(int, String) method.

定義:
インタフェース java.sql.PreparedStatement 内の setTime
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
SQLite3.format(Time), Statement.bindText(int, String), Statement.bindNull(int)

setTimestamp

public void setTimestamp(int parameterIndex,
                         java.sql.Timestamp x)
                  throws java.sql.SQLException
invoke SQLite3#format(Timestamp) and org.sqlite.Statement#bindText(int, String) method.

定義:
インタフェース java.sql.PreparedStatement 内の setTimestamp
パラメータ:
parameterIndex -
x -
例外:
java.sql.SQLException
関連項目:
SQLite3.format(Timestamp), Statement.bindText(int, String), Statement.bindNull(int)

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           java.io.InputStream x,
                           int length)
                    throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setAsciiStream
例外:
java.sql.SQLException

setUnicodeStream

public void setUnicodeStream(int parameterIndex,
                             java.io.InputStream x,
                             int length)
                      throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setUnicodeStream
例外:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            java.io.InputStream x,
                            int length)
                     throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setBinaryStream
例外:
java.sql.SQLException

clearParameters

public void clearParameters()
                     throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の clearParameters
例外:
java.sql.SQLException

setObject

public void setObject(int parameterIndex,
                      java.lang.Object x,
                      int targetSqlType,
                      int scaleOrLength)
               throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の setObject
例外:
java.sql.SQLException

setObject

public void setObject(int parameterIndex,
                      java.lang.Object x,
                      int targetSqlType)
               throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の setObject
例外:
java.sql.SQLException

setObject

public void setObject(int parameterIndex,
                      java.lang.Object x)
               throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の setObject
例外:
java.sql.SQLException

execute

public boolean execute()
                throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の execute
例外:
java.sql.SQLException

addBatch

public void addBatch()
              throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の addBatch
例外:
java.sql.SQLException

clearBatch

public void clearBatch()
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の clearBatch
オーバーライド:
クラス JdbcStatement 内の clearBatch
例外:
java.sql.SQLException

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeBatch
オーバーライド:
クラス JdbcStatement 内の executeBatch
例外:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               java.io.Reader x,
                               int length)
                        throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setCharacterStream
例外:
java.sql.SQLException

setRef

public void setRef(int parameterIndex,
                   java.sql.Ref x)
            throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setRef
例外:
java.sql.SQLException

setBlob

public void setBlob(int parameterIndex,
                    java.sql.Blob x)
             throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setBlob
例外:
java.sql.SQLException

setClob

public void setClob(int parameterIndex,
                    java.sql.Clob x)
             throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setClob
例外:
java.sql.SQLException

setArray

public void setArray(int parameterIndex,
                     java.sql.Array x)
              throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setArray
例外:
java.sql.SQLException

getMetaData

public JdbcResultSetMetaData getMetaData()
                                  throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の getMetaData
例外:
java.sql.SQLException

setDate

public void setDate(int parameterIndex,
                    java.sql.Date x,
                    java.util.Calendar cal)
             throws java.sql.SQLException
invoke setDate(int, Date) method.

定義:
インタフェース java.sql.PreparedStatement 内の setDate
パラメータ:
parameterIndex -
x -
cal -
例外:
java.sql.SQLException
関連項目:
setDate(int, Date)

setTime

public void setTime(int parameterIndex,
                    java.sql.Time x,
                    java.util.Calendar cal)
             throws java.sql.SQLException
invoke setTime(int, Time) method.

定義:
インタフェース java.sql.PreparedStatement 内の setTime
パラメータ:
parameterIndex -
x -
cal -
例外:
java.sql.SQLException
関連項目:
setTime(int, Time)

setTimestamp

public void setTimestamp(int parameterIndex,
                         java.sql.Timestamp x,
                         java.util.Calendar cal)
                  throws java.sql.SQLException
invoke setTimestamp(int, Timestamp) method.

定義:
インタフェース java.sql.PreparedStatement 内の setTimestamp
パラメータ:
parameterIndex -
x -
cal -
例外:
java.sql.SQLException
関連項目:
setTimestamp(int, Timestamp)

setNull

public void setNull(int parameterIndex,
                    int sqlType,
                    java.lang.String typeName)
             throws java.sql.SQLException
invoke setNull(int, int) method.

定義:
インタフェース java.sql.PreparedStatement 内の setNull
パラメータ:
parameterIndex -
sqlType - ignore
typeName - ignore
例外:
java.sql.SQLException
関連項目:
setNull(int, int)

setURL

public void setURL(int parameterIndex,
                   java.net.URL x)
            throws java.sql.SQLException
Not supporetd yet.

定義:
インタフェース java.sql.PreparedStatement 内の setURL
例外:
java.sql.SQLException

getParameterMetaData

public JdbcParameterMetaData getParameterMetaData()
                                           throws java.sql.SQLException
定義:
インタフェース java.sql.PreparedStatement 内の getParameterMetaData
例外:
java.sql.SQLException

isClosed

public boolean isClosed()
                 throws java.sql.SQLException
オーバーライド:
クラス JdbcStatement 内の isClosed
例外:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の close
オーバーライド:
クラス JdbcStatement 内の close
例外:
java.sql.SQLException

detach

public void detach(java.sql.ResultSet drs)
            throws java.sql.SQLException
PreparedStatement#close()時にResultSetが一緒にcloseされないようにResultSetを切り離す。 WARNING! All parameters are unbinded.

オーバーライド:
クラス JdbcStatement 内の detach
パラメータ:
drs - ResultSet that wants to be detached
例外:
java.sql.SQLException

close

public void close(java.sql.ResultSet drs)
           throws java.sql.SQLException
ResultSetを切り離してPrepaeredStatementをcloseする。

オーバーライド:
クラス JdbcStatement 内の close
パラメータ:
drs - ResultSet that wants to be detached
例外:
java.sql.SQLException

finalize

protected void finalize()
                 throws java.lang.Throwable
オーバーライド:
クラス JdbcStatement 内の finalize
例外:
java.lang.Throwable

findParameter

public int findParameter(java.lang.String parameterName)
                  throws java.sql.SQLException
Retrieves the parameter index.

パラメータ:
parameterName -
戻り値:
parameter index
例外:
java.sql.SQLException
関連項目:
Statement.getParameterIndex(String)

setNull

public void setNull(java.lang.String parameterName,
                    int sqlType)
             throws java.sql.SQLException
invoke findParameter(String) and setNull(int, int) method.

パラメータ:
parameterName -
sqlType - ignore
例外:
java.sql.SQLException
関連項目:
findParameter(String), setNull(int, int)

setBoolean

public void setBoolean(java.lang.String parameterName,
                       boolean x)
                throws java.sql.SQLException
invoke findParameter(String) and setBoolean(int, boolean) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setBoolean(int, boolean)

setByte

public void setByte(java.lang.String parameterName,
                    byte x)
             throws java.sql.SQLException
invoke findParameter(String) and setByte(int, byte) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setByte(int, byte)

setShort

public void setShort(java.lang.String parameterName,
                     short x)
              throws java.sql.SQLException
invoke findParameter(String) and setShort(int, short) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setShort(int, short)

setInt

public void setInt(java.lang.String parameterName,
                   int x)
            throws java.sql.SQLException
invoke findParameter(String) and setInt(int, int) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setInt(int, int)

setLong

public void setLong(java.lang.String parameterName,
                    long x)
             throws java.sql.SQLException
invoke findParameter(String) and setLong(int, long) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setLong(int, long)

setFloat

public void setFloat(java.lang.String parameterName,
                     float x)
              throws java.sql.SQLException
invoke findParameter(String) and setFloat(int, float) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setFloat(int, float)

setDouble

public void setDouble(java.lang.String parameterName,
                      double x)
               throws java.sql.SQLException
invoke findParameter(String) and setDouble(int, double) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setDouble(int, double)

setBigDecimal

public void setBigDecimal(java.lang.String parameterName,
                          java.math.BigDecimal x)
                   throws java.sql.SQLException
invoke findParameter(String) and setBigDecimal(int, BigDecimal) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setBigDecimal(int, BigDecimal)

setString

public void setString(java.lang.String parameterName,
                      java.lang.String x)
               throws java.sql.SQLException
invoke findParameter(String) and setString(int, String) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setString(int, String)

setBytes

public void setBytes(java.lang.String parameterName,
                     byte[] x)
              throws java.sql.SQLException
invoke findParameter(String) and setBytes(int, byte[]) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setBytes(int, byte[])

setDate

public void setDate(java.lang.String parameterName,
                    java.sql.Date x)
             throws java.sql.SQLException
invoke findParameter(String) and setDate(int, Date) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setDate(int, Date)

setTime

public void setTime(java.lang.String parameterName,
                    java.sql.Time x)
             throws java.sql.SQLException
invoke findParameter(String) and setTime(int, Time) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setTime(int, Time)

setTimestamp

public void setTimestamp(java.lang.String parameterName,
                         java.sql.Timestamp x)
                  throws java.sql.SQLException
invoke findParameter(String) and setTimestamp(int, Timestamp) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setTimestamp(int, Timestamp)

setBlob

public void setBlob(java.lang.String parameterName,
                    java.sql.Blob x)
             throws java.sql.SQLException
invoke findParameter(String) and setBlob(int, Blob) method.

パラメータ:
parameterName -
x -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setBlob(int, Blob)

setDate

public void setDate(java.lang.String parameterName,
                    java.sql.Date x,
                    java.util.Calendar cal)
             throws java.sql.SQLException
invoke findParameter(String) and setDate(int, Date, Calendar) method.

パラメータ:
parameterName -
x -
cal -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setDate(int, Date, Calendar)

setTime

public void setTime(java.lang.String parameterName,
                    java.sql.Time x,
                    java.util.Calendar cal)
             throws java.sql.SQLException
invoke findParameter(String) and setTime(int, Time, Calendar) method.

パラメータ:
parameterName -
x -
cal -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setTime(int, Time, Calendar)

setTimestamp

public void setTimestamp(java.lang.String parameterName,
                         java.sql.Timestamp x,
                         java.util.Calendar cal)
                  throws java.sql.SQLException
invoke findParameter(String) and setTimestamp(int, Timestamp, Calendar) method.

パラメータ:
parameterName -
x -
cal -
例外:
java.sql.SQLException
関連項目:
findParameter(String), setTimestamp(int, Timestamp, Calendar)

findParameterName

public java.lang.String findParameterName(int parameterIndex)
                                   throws java.sql.SQLException
Retrieves the parameter name.

パラメータ:
parameterIndex -
戻り値:
例外:
java.sql.SQLException
関連項目:
Statement.getParameterName(int)

validateSqlType

public static void validateSqlType(int sqlType)
                            throws java.sql.SQLException
例外:
java.sql.SQLException

executeUpdate

protected static int executeUpdate(Statement stmt)
                            throws java.sql.SQLException
例外:
java.sql.SQLException