@Published public interface SqlPStatement extends SqlStatement
PreparedStatement| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addBatch()
PreparedStatement.addBatch()のラッパー。 |
void |
clearParameters()
PreparedStatement.clearParameters()のラッパー。 |
boolean |
execute()
PreparedStatement.execute()のラッパー。 |
ResultSetIterator |
executeQuery()
PreparedStatement.executeQuery()のラッパー。 |
int |
executeUpdate()
PreparedStatement.executeUpdate()のラッパー。 |
int |
getFetchDirection()
Statement.getFetchDirection()のラッパー。 |
java.sql.ResultSet |
getGeneratedKeys()
Statement.getGeneratedKeys()のラッパー。 |
java.sql.ResultSetMetaData |
getMetaData()
PreparedStatement.getMetaData()のラッパー。 |
boolean |
getMoreResults()
Statement.getMoreResults()のラッパー。 |
boolean |
getMoreResults(int current)
Statement.getMoreResults()のラッパー。 |
java.sql.ResultSet |
getResultSet()
Statement.getResultSet()のラッパー。 |
int |
getResultSetConcurrency()
Statement.getResultSetConcurrency()のラッパー。 |
int |
getResultSetHoldability()
Statement.getResultSetHoldability()のラッパー。 |
int |
getResultSetType()
Statement.getResultSetType()のラッパー。 |
SqlResultSet |
retrieve()
簡易検索機能。
|
SqlResultSet |
retrieve(int start,
int max)
簡易検索機能。
|
void |
setArray(int parameterIndex,
java.sql.Array x)
PreparedStatement.setArray(int, java.sql.Array)のラッパー。 |
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
PreparedStatement.setAsciiStream(int, java.io.InputStream, int)のラッパー。 |
void |
setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
PreparedStatement.setBigDecimal(int, java.math.BigDecimal)のラッパー。 |
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)のラッパー。 |
void |
setBlob(int parameterIndex,
java.sql.Blob x)
PreparedStatement.setBlob(int, java.sql.Blob)のラッパー。 |
void |
setBoolean(int parameterIndex,
boolean x)
PreparedStatement.setBoolean(int, boolean)のラッパー。 |
void |
setByte(int parameterIndex,
byte x)
PreparedStatement.setByte(int, byte)のラッパー。 |
void |
setBytes(int parameterIndex,
byte[] x)
PreparedStatement.setBytes(int, byte[])のラッパー。 |
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
PreparedStatement.setCharacterStream(int, java.io.Reader, int)のラッパー。 |
void |
setClob(int parameterIndex,
java.sql.Clob x)
PreparedStatement.setClob(int, java.sql.Clob)のラッパー。 |
void |
setDate(int parameterIndex,
java.sql.Date x)
PreparedStatement.setDate(int, java.sql.Date)のラッパー。 |
void |
setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
PreparedStatement.setDate(int, java.sql.Date, java.util.Calendar)のラッパー。 |
void |
setDouble(int parameterIndex,
double x)
PreparedStatement.setDouble(int, double)のラッパー。 |
void |
setFetchDirection(int direction)
Statement.setFetchDirection(int)のラッパー。 |
void |
setFloat(int parameterIndex,
float x)
PreparedStatement.setFloat(int, float)のラッパー。 |
void |
setInt(int parameterIndex,
int x)
PreparedStatement.setInt(int, int)のラッパー。 |
void |
setLong(int parameterIndex,
long x)
PreparedStatement.setLong(int, long)のラッパー。 |
void |
setNull(int parameterIndex,
int sqlType)
PreparedStatement.setNull(int, int)のラッパー。 |
void |
setNull(int parameterIndex,
int sqlType,
java.lang.String typeName)
PreparedStatement.setNull(int, int, String)のラッパー。 |
void |
setObject(int parameterIndex,
java.lang.Object x)
PreparedStatement.setObject(int, java.lang.Object, int)のラッパー。 |
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
PreparedStatement.setObject(int, java.lang.Object, int)のラッパー。 |
void |
setRef(int parameterIndex,
java.sql.Ref x)
PreparedStatement.setRef(int, java.sql.Ref)のラッパー。 |
void |
setShort(int parameterIndex,
short x)
PreparedStatement.setShort(int, short)のラッパー。 |
void |
setString(int parameterIndex,
java.lang.String x)
PreparedStatement.setString(int, java.lang.String)のラッパー。 |
void |
setTime(int parameterIndex,
java.sql.Time x)
PreparedStatement.setTime(int, java.sql.Time)のラッパー。 |
void |
setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
PreparedStatement.setTime(int, java.sql.Time, java.util.Calendar)のラッパー。 |
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x)
PreparedStatement.setTimestamp(int, java.sql.Timestamp)のラッパー。 |
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
PreparedStatement.setTimestamp(int, java.sql.Timestamp, java.util.Calendar)のラッパー。 |
void |
setURL(int parameterIndex,
java.net.URL x)
PreparedStatement.setURL(int, java.net.URL)のラッパー。 |
clearBatch, close, executeBatch, getBatchSize, getConnection, getFetchSize, getMaxRows, getQueryTimeout, getUpdateCount, isClosed, setFetchSize, setJdbcTransactionTimeoutHandler, setMaxRows, setQueryTimeoutSqlResultSet retrieve() throws SqlStatementException
SqlStatement.setMaxRows(int)で事前に設定した値は無視する。SqlStatementException - SQL実行時にSQLExceptionが発生した場合。SqlResultSet retrieve(int start, int max) throws SqlStatementException
start - 取得開始位置max - 取得最大件数SqlStatementException - SQL実行時にSQLExceptionが発生した場合。ResultSetIterator executeQuery() throws SqlStatementException
PreparedStatement.executeQuery()のラッパー。SqlStatementException - SQL実行時にSQLExceptionが発生した場合。int executeUpdate()
throws SqlStatementException
PreparedStatement.executeUpdate()のラッパー。SqlStatementException - SQL実行時にSQLExceptionが発生した場合。void setNull(int parameterIndex,
int sqlType)
PreparedStatement.setNull(int, int)のラッパー。parameterIndex - パラメータインデックスsqlType - SQLタイプ(Types)void setBoolean(int parameterIndex,
boolean x)
PreparedStatement.setBoolean(int, boolean)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setByte(int parameterIndex,
byte x)
PreparedStatement.setByte(int, byte)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setShort(int parameterIndex,
short x)
PreparedStatement.setShort(int, short)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setInt(int parameterIndex,
int x)
PreparedStatement.setInt(int, int)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setLong(int parameterIndex,
long x)
PreparedStatement.setLong(int, long)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setFloat(int parameterIndex,
float x)
PreparedStatement.setFloat(int, float)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setDouble(int parameterIndex,
double x)
PreparedStatement.setDouble(int, double)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
PreparedStatement.setBigDecimal(int, java.math.BigDecimal)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setString(int parameterIndex,
java.lang.String x)
PreparedStatement.setString(int, java.lang.String)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setBytes(int parameterIndex,
byte[] x)
PreparedStatement.setBytes(int, byte[])のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setDate(int parameterIndex,
java.sql.Date x)
PreparedStatement.setDate(int, java.sql.Date)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setTime(int parameterIndex,
java.sql.Time x)
PreparedStatement.setTime(int, java.sql.Time)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setTimestamp(int parameterIndex,
java.sql.Timestamp x)
PreparedStatement.setTimestamp(int, java.sql.Timestamp)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
PreparedStatement.setAsciiStream(int, java.io.InputStream, int)のラッパー。parameterIndex - パラメータインデックスx - パラメータlength - ストリームのバイト数void setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)のラッパー。parameterIndex - パラメータインデックスx - パラメータlength - ストリームのバイト数void clearParameters()
PreparedStatement.clearParameters()のラッパー。void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
PreparedStatement.setObject(int, java.lang.Object, int)のラッパー。parameterIndex - パラメータインデックスx - パラメータtargetSqlType - SQLタイプ(java.sql.Types)void setObject(int parameterIndex,
java.lang.Object x)
PreparedStatement.setObject(int, java.lang.Object, int)のラッパー。parameterIndex - パラメータインデックスx - パラメータboolean execute()
throws SqlStatementException
PreparedStatement.execute()のラッパー。ResultSetオブジェクトの場合はtrue。
更新カウントであるか、または結果がない場合はfalse。SqlStatementException - 例外発生時void addBatch()
PreparedStatement.addBatch()のラッパー。void setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
PreparedStatement.setCharacterStream(int, java.io.Reader, int)のラッパー。parameterIndex - パラメータインデックスreader - パラメータlength - ストリームないの文字数void setRef(int parameterIndex,
java.sql.Ref x)
PreparedStatement.setRef(int, java.sql.Ref)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setBlob(int parameterIndex,
java.sql.Blob x)
PreparedStatement.setBlob(int, java.sql.Blob)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setClob(int parameterIndex,
java.sql.Clob x)
PreparedStatement.setClob(int, java.sql.Clob)のラッパー。parameterIndex - パラメータインデックスx - パラメータvoid setArray(int parameterIndex,
java.sql.Array x)
PreparedStatement.setArray(int, java.sql.Array)のラッパー。parameterIndex - パラメータインデックスx - パラメータjava.sql.ResultSetMetaData getMetaData()
PreparedStatement.getMetaData()のラッパー。void setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
PreparedStatement.setDate(int, java.sql.Date, java.util.Calendar)のラッパー。parameterIndex - パラメータインデックスx - パラメータcal - ドライバが日付を作成するために使用するCalendarオブジェクトvoid setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
PreparedStatement.setTime(int, java.sql.Time, java.util.Calendar)のラッパー。parameterIndex - パラメータインデックスx - パラメータcal - ドライバが日付を作成するために使用するCalendarオブジェクトvoid setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
PreparedStatement.setTimestamp(int, java.sql.Timestamp, java.util.Calendar)のラッパー。parameterIndex - パラメータインデックスx - パラメータcal - ドライバが日付を作成するために使用するCalendarオブジェクトvoid setNull(int parameterIndex,
int sqlType,
java.lang.String typeName)
PreparedStatement.setNull(int, int, String)のラッパー。parameterIndex - パラメータインデックスsqlType - SQLタイプtypeName - SQL ユーザー定義型の完全指定の名前。
パラメータがユーザー定義型でもRefでもない場合は無視される。void setURL(int parameterIndex,
java.net.URL x)
PreparedStatement.setURL(int, java.net.URL)のラッパー。parameterIndex - パラメータインデックスx - パラメータjava.sql.ResultSet getResultSet()
Statement.getResultSet()のラッパー。ResultSetオブジェクトとしての現在の結果。
更新カウントであるか、結果がない場合はnull。boolean getMoreResults()
Statement.getMoreResults()のラッパー。ResultSetオブジェクトの場合はtrue。
更新カウントであるか、結果がない場合はfalse。void setFetchDirection(int direction)
Statement.setFetchDirection(int)のラッパー。direction - 行を処理する初期方向int getFetchDirection()
Statement.getFetchDirection()のラッパー。int getResultSetConcurrency()
Statement.getResultSetConcurrency()のラッパー。ResultSet.CONCUR_READ_ONLY
またはResultSet.CONCUR_UPDATABLE。int getResultSetType()
Statement.getResultSetType()のラッパー。ResultSet.TYPE_FORWARD_ONLY、
ResultSet.TYPE_SCROLL_INSENSITIVE、
ResultSet.TYPE_SCROLL_SENSITIVEのうちの1つ。boolean getMoreResults(int current)
Statement.getMoreResults()のラッパー。current - getResultSet メソッドを使用して取得した、
現在の ResultSet オブジェクトに生じる状態を示す Statement 定数。
Statement.CLOSE_CURRENT_RESULT、
Statement.KEEP_CURRENT_RESULT、
Statement.CLOSE_ALL_RESULTSのうちの 1 つ。ResultSetオブジェクトの場合はtrue。
更新カウントであるか、または結果がない場合はfalse。java.sql.ResultSet getGeneratedKeys()
Statement.getGeneratedKeys()のラッパー。ResultSetオブジェクトint getResultSetHoldability()
Statement.getResultSetHoldability()のラッパー。ResultSet.HOLD_CURSORS_OVER_COMMIT
またはResultSet.CLOSE_CURSORS_AT_COMMIT。