org.asyrinx.brownie.jdbc.wrapper
クラス PreparedStatementWrapper
java.lang.Object
org.asyrinx.brownie.core.util.Wrapper
org.asyrinx.brownie.jdbc.wrapper.StatementWrapper
org.asyrinx.brownie.jdbc.wrapper.PreparedStatementWrapper
- すべての実装インタフェース:
- java.sql.PreparedStatement, java.sql.Statement
- 直系の既知のサブクラス:
- CallableStatementWrapper
- public class PreparedStatementWrapper
- extends StatementWrapper
- implements java.sql.PreparedStatement
- 作成者:
- Akima
インタフェース java.sql.Statement から継承したフィールド |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
メソッドの概要 |
void |
addBatch()
|
void |
clearParameters()
|
boolean |
execute()
|
java.sql.ResultSet |
executeQuery()
|
int |
executeUpdate()
|
java.sql.ResultSetMetaData |
getMetaData()
|
java.sql.ParameterMetaData |
getParameterMetaData()
|
void |
setArray(int i,
java.sql.Array x)
|
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
|
void |
setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
|
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
|
void |
setBlob(int i,
java.sql.Blob x)
|
void |
setBoolean(int parameterIndex,
boolean x)
|
void |
setByte(int parameterIndex,
byte x)
|
void |
setBytes(int parameterIndex,
byte[] x)
|
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
|
void |
setClob(int i,
java.sql.Clob x)
|
void |
setDate(int parameterIndex,
java.sql.Date x)
|
void |
setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
|
void |
setDouble(int parameterIndex,
double x)
|
void |
setFloat(int parameterIndex,
float x)
|
void |
setInt(int parameterIndex,
int x)
|
void |
setLong(int parameterIndex,
long x)
|
void |
setNull(int parameterIndex,
int sqlType)
|
void |
setNull(int paramIndex,
int sqlType,
java.lang.String typeName)
|
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 scale)
|
void |
setRef(int i,
java.sql.Ref x)
|
void |
setShort(int parameterIndex,
short x)
|
void |
setString(int parameterIndex,
java.lang.String x)
|
void |
setTime(int parameterIndex,
java.sql.Time x)
|
void |
setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
|
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x)
|
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
|
void |
setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
推奨されていません。 |
void |
setURL(int parameterIndex,
java.net.URL x)
|
クラス org.asyrinx.brownie.jdbc.wrapper.StatementWrapper から継承したメソッド |
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, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース 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, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
PreparedStatementWrapper
public PreparedStatementWrapper(java.sql.PreparedStatement source)
- Constructor for PreparedStatementWrapper.
addBatch
public void addBatch()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の addBatch
- 例外:
java.sql.SQLException
clearParameters
public void clearParameters()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の clearParameters
- 例外:
java.sql.SQLException
execute
public boolean execute()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の execute
- 戻り値:
- @throws
java.sql.SQLException
- 例外:
java.sql.SQLException
executeQuery
public java.sql.ResultSet executeQuery()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の executeQuery
- 戻り値:
- @throws
java.sql.SQLException
- 例外:
java.sql.SQLException
executeUpdate
public int executeUpdate()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の executeUpdate
- 戻り値:
- @throws
java.sql.SQLException
- 例外:
java.sql.SQLException
getMetaData
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の getMetaData
- 戻り値:
- @throws
java.sql.SQLException
- 例外:
java.sql.SQLException
getParameterMetaData
public java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の getParameterMetaData
- 戻り値:
- @throws
java.sql.SQLException
- 例外:
java.sql.SQLException
setArray
public void setArray(int i,
java.sql.Array x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setArray
- パラメータ:
i
- x
-
- 例外:
java.sql.SQLException
setAsciiStream
public void setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setAsciiStream
- パラメータ:
parameterIndex
- x
- length
-
- 例外:
java.sql.SQLException
setBigDecimal
public void setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBigDecimal
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setBinaryStream
public void setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBinaryStream
- パラメータ:
parameterIndex
- x
- length
-
- 例外:
java.sql.SQLException
setBlob
public void setBlob(int i,
java.sql.Blob x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBlob
- パラメータ:
i
- x
-
- 例外:
java.sql.SQLException
setBoolean
public void setBoolean(int parameterIndex,
boolean x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBoolean
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setByte
public void setByte(int parameterIndex,
byte x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setByte
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setBytes
public void setBytes(int parameterIndex,
byte[] x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBytes
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setCharacterStream
public void setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setCharacterStream
- パラメータ:
parameterIndex
- reader
- length
-
- 例外:
java.sql.SQLException
setClob
public void setClob(int i,
java.sql.Clob x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setClob
- パラメータ:
i
- x
-
- 例外:
java.sql.SQLException
setDate
public void setDate(int parameterIndex,
java.sql.Date x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setDate
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setDate
public void setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setDate
- パラメータ:
parameterIndex
- x
- cal
-
- 例外:
java.sql.SQLException
setDouble
public void setDouble(int parameterIndex,
double x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setDouble
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setFloat
public void setFloat(int parameterIndex,
float x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setFloat
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setInt
public void setInt(int parameterIndex,
int x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setInt
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setLong
public void setLong(int parameterIndex,
long x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setLong
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setNull
public void setNull(int parameterIndex,
int sqlType)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setNull
- パラメータ:
parameterIndex
- sqlType
-
- 例外:
java.sql.SQLException
setNull
public void setNull(int paramIndex,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setNull
- パラメータ:
paramIndex
- sqlType
- typeName
-
- 例外:
java.sql.SQLException
setObject
public void setObject(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setObject
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setObject
public void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setObject
- パラメータ:
parameterIndex
- x
- targetSqlType
-
- 例外:
java.sql.SQLException
setObject
public void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType,
int scale)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setObject
- パラメータ:
parameterIndex
- x
- targetSqlType
- scale
-
- 例外:
java.sql.SQLException
setRef
public void setRef(int i,
java.sql.Ref x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setRef
- パラメータ:
i
- x
-
- 例外:
java.sql.SQLException
setShort
public void setShort(int parameterIndex,
short x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setShort
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setString
public void setString(int parameterIndex,
java.lang.String x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setString
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setTime
public void setTime(int parameterIndex,
java.sql.Time x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTime
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setTime
public void setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTime
- パラメータ:
parameterIndex
- x
- cal
-
- 例外:
java.sql.SQLException
setTimestamp
public void setTimestamp(int parameterIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTimestamp
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
setTimestamp
public void setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTimestamp
- パラメータ:
parameterIndex
- x
- cal
-
- 例外:
java.sql.SQLException
setUnicodeStream
public void setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
- 推奨されていません。
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setUnicodeStream
- パラメータ:
parameterIndex
- x
- length
-
- 例外:
java.sql.SQLException
setURL
public void setURL(int parameterIndex,
java.net.URL x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setURL
- パラメータ:
parameterIndex
- x
-
- 例外:
java.sql.SQLException
Copyright © 2004 asyrinx organization. All Rights Reserved.