パッケージ com.handywedge.db
インタフェース FWPreparedStatement
-
- すべてのスーパーインタフェース:
AutoCloseable,FWStatement
- 既知のサブインタフェースのリスト:
FWCallableStatement,FWFullCallableStatement,FWFullPreparedStatement
public interface FWPreparedStatement extends FWStatement
PreparedStatementのラッパーインターフェースです。
DBへアクセスを行うにはFWConnectionManagerからFWConnectionインスタンスを取得してアクセスします。
-
-
フィールドの概要
-
インタフェースから継承されたフィールド com.handywedge.db.FWStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 voidaddBatch()voidclearParameters()booleanexecute()longexecuteLargeUpdate()FWResultSetexecuteQuery()intexecuteUpdate()ResultSetMetaDatagetMetaData()ParameterMetaDatagetParameterMetaData()voidsetArray(int parameterIndex, Array x)voidsetAsciiStream(int parameterIndex, InputStream x)voidsetAsciiStream(int parameterIndex, InputStream x, int length)voidsetAsciiStream(int parameterIndex, InputStream x, long length)voidsetBigDecimal(int parameterIndex, BigDecimal x)voidsetBinaryStream(int parameterIndex, InputStream x)voidsetBinaryStream(int parameterIndex, InputStream x, int length)voidsetBinaryStream(int parameterIndex, InputStream x, long length)voidsetBlob(int parameterIndex, InputStream inputStream)voidsetBlob(int parameterIndex, InputStream inputStream, long length)voidsetBlob(int parameterIndex, Blob x)voidsetBoolean(int parameterIndex, boolean x)voidsetByte(int parameterIndex, byte x)voidsetBytes(int parameterIndex, byte[] x)voidsetCharacterStream(int parameterIndex, Reader reader)voidsetCharacterStream(int parameterIndex, Reader reader, int length)voidsetCharacterStream(int parameterIndex, Reader reader, long length)voidsetClob(int parameterIndex, Reader reader)voidsetClob(int parameterIndex, Reader reader, long length)voidsetClob(int parameterIndex, Clob x)voidsetDate(int parameterIndex, Date x)voidsetDate(int parameterIndex, Date x, Calendar cal)voidsetDouble(int parameterIndex, double x)voidsetFloat(int parameterIndex, float x)voidsetInt(int parameterIndex, int x)voidsetLong(int parameterIndex, long x)voidsetNCharacterStream(int parameterIndex, Reader value)voidsetNCharacterStream(int parameterIndex, Reader value, long length)voidsetNClob(int parameterIndex, Reader reader)voidsetNClob(int parameterIndex, Reader reader, long length)voidsetNClob(int parameterIndex, NClob value)voidsetNString(int parameterIndex, String value)voidsetNull(int parameterIndex, int sqlType)voidsetNull(int parameterIndex, int sqlType, String typeName)voidsetObject(int parameterIndex, Object x)voidsetObject(int parameterIndex, Object x, int targetSqlType)voidsetObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength)voidsetObject(int parameterIndex, Object x, SQLType targetSqlType)voidsetObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength)voidsetRef(int parameterIndex, Ref x)voidsetRowId(int parameterIndex, RowId x)voidsetShort(int parameterIndex, short x)voidsetSQLXML(int parameterIndex, SQLXML xmlObject)voidsetString(int parameterIndex, String x)voidsetTime(int parameterIndex, Time x)voidsetTime(int parameterIndex, Time x, Calendar cal)voidsetTimestamp(int parameterIndex, Timestamp x)voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal)voidsetURL(int parameterIndex, URL x)-
インタフェースから継承されたメソッド com.handywedge.db.FWStatement
addBatch, clearBatch, close, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getUpdateCount, isClosed, setEscapeProcessing, setLargeMaxRows, setMaxFieldSize, setMaxRows, setQueryTimeout
-
-
-
-
メソッドの詳細
-
executeQuery
FWResultSet executeQuery() throws SQLException
- 例外:
SQLException
-
executeUpdate
int executeUpdate() throws SQLException- 例外:
SQLException
-
setNull
void setNull(int parameterIndex, int sqlType) throws SQLException- 例外:
SQLException
-
setBoolean
void setBoolean(int parameterIndex, boolean x) throws SQLException- 例外:
SQLException
-
setByte
void setByte(int parameterIndex, byte x) throws SQLException- 例外:
SQLException
-
setShort
void setShort(int parameterIndex, short x) throws SQLException- 例外:
SQLException
-
setInt
void setInt(int parameterIndex, int x) throws SQLException- 例外:
SQLException
-
setLong
void setLong(int parameterIndex, long x) throws SQLException- 例外:
SQLException
-
setFloat
void setFloat(int parameterIndex, float x) throws SQLException- 例外:
SQLException
-
setDouble
void setDouble(int parameterIndex, double x) throws SQLException- 例外:
SQLException
-
setBigDecimal
void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException- 例外:
SQLException
-
setString
void setString(int parameterIndex, String x) throws SQLException- 例外:
SQLException
-
setBytes
void setBytes(int parameterIndex, byte[] x) throws SQLException- 例外:
SQLException
-
setDate
void setDate(int parameterIndex, Date x) throws SQLException- 例外:
SQLException
-
setTime
void setTime(int parameterIndex, Time x) throws SQLException- 例外:
SQLException
-
setTimestamp
void setTimestamp(int parameterIndex, Timestamp x) throws SQLException- 例外:
SQLException
-
setAsciiStream
void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException- 例外:
SQLException
-
setBinaryStream
void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException- 例外:
SQLException
-
clearParameters
void clearParameters() throws SQLException- 例外:
SQLException
-
setObject
void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException- 例外:
SQLException
-
setObject
void setObject(int parameterIndex, Object x) throws SQLException- 例外:
SQLException
-
execute
boolean execute() throws SQLException- 例外:
SQLException
-
addBatch
void addBatch() throws SQLException- 例外:
SQLException
-
setCharacterStream
void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException- 例外:
SQLException
-
setRef
void setRef(int parameterIndex, Ref x) throws SQLException- 例外:
SQLException
-
setBlob
void setBlob(int parameterIndex, Blob x) throws SQLException- 例外:
SQLException
-
setClob
void setClob(int parameterIndex, Clob x) throws SQLException- 例外:
SQLException
-
setArray
void setArray(int parameterIndex, Array x) throws SQLException- 例外:
SQLException
-
getMetaData
ResultSetMetaData getMetaData() throws SQLException
- 例外:
SQLException
-
setDate
void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException- 例外:
SQLException
-
setTime
void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException- 例外:
SQLException
-
setTimestamp
void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException- 例外:
SQLException
-
setNull
void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException- 例外:
SQLException
-
setURL
void setURL(int parameterIndex, URL x) throws SQLException- 例外:
SQLException
-
getParameterMetaData
ParameterMetaData getParameterMetaData() throws SQLException
- 例外:
SQLException
-
setRowId
void setRowId(int parameterIndex, RowId x) throws SQLException- 例外:
SQLException
-
setNString
void setNString(int parameterIndex, String value) throws SQLException- 例外:
SQLException
-
setNCharacterStream
void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException- 例外:
SQLException
-
setNClob
void setNClob(int parameterIndex, NClob value) throws SQLException- 例外:
SQLException
-
setClob
void setClob(int parameterIndex, Reader reader, long length) throws SQLException- 例外:
SQLException
-
setBlob
void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException- 例外:
SQLException
-
setNClob
void setNClob(int parameterIndex, Reader reader, long length) throws SQLException- 例外:
SQLException
-
setSQLXML
void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException- 例外:
SQLException
-
setObject
void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException- 例外:
SQLException
-
setAsciiStream
void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException- 例外:
SQLException
-
setBinaryStream
void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException- 例外:
SQLException
-
setCharacterStream
void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException- 例外:
SQLException
-
setAsciiStream
void setAsciiStream(int parameterIndex, InputStream x) throws SQLException- 例外:
SQLException
-
setBinaryStream
void setBinaryStream(int parameterIndex, InputStream x) throws SQLException- 例外:
SQLException
-
setCharacterStream
void setCharacterStream(int parameterIndex, Reader reader) throws SQLException- 例外:
SQLException
-
setNCharacterStream
void setNCharacterStream(int parameterIndex, Reader value) throws SQLException- 例外:
SQLException
-
setClob
void setClob(int parameterIndex, Reader reader) throws SQLException- 例外:
SQLException
-
setBlob
void setBlob(int parameterIndex, InputStream inputStream) throws SQLException- 例外:
SQLException
-
setNClob
void setNClob(int parameterIndex, Reader reader) throws SQLException- 例外:
SQLException
-
setObject
void setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException- 例外:
SQLException
-
setObject
void setObject(int parameterIndex, Object x, SQLType targetSqlType) throws SQLException- 例外:
SQLException
-
executeLargeUpdate
long executeLargeUpdate() throws SQLException- 例外:
SQLException
-
-