org.asyrinx.brownie.jdbc.mockbase
クラス MockBasePreparedStatement
java.lang.Object
org.asyrinx.brownie.jdbc.mockbase.MockBaseStatement
org.asyrinx.brownie.jdbc.mockbase.MockBasePreparedStatement
- すべての実装インタフェース:
- java.sql.PreparedStatement, java.sql.Statement
- 直系の既知のサブクラス:
- MockBaseCallableStatement
- public class MockBasePreparedStatement
- extends MockBaseStatement
- 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.mockbase.MockBaseStatement から継承したメソッド |
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 |
MockBasePreparedStatement
public MockBasePreparedStatement()
executeQuery
public java.sql.ResultSet executeQuery()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の executeQuery
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.executeQuery()
executeUpdate
public int executeUpdate()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の executeUpdate
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.executeUpdate()
setNull
public void setNull(int parameterIndex,
int sqlType)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setNull
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setNull(int, int)
setBoolean
public void setBoolean(int parameterIndex,
boolean x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBoolean
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setBoolean(int, boolean)
setByte
public void setByte(int parameterIndex,
byte x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setByte
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setByte(int, byte)
setShort
public void setShort(int parameterIndex,
short x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setShort
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setShort(int, short)
setInt
public void setInt(int parameterIndex,
int x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setInt
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setInt(int, int)
setLong
public void setLong(int parameterIndex,
long x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setLong
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setLong(int, long)
setFloat
public void setFloat(int parameterIndex,
float x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setFloat
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setFloat(int, float)
setDouble
public void setDouble(int parameterIndex,
double x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setDouble
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setDouble(int, double)
setBigDecimal
public void setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBigDecimal
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setBigDecimal(int, java.math.BigDecimal)
setString
public void setString(int parameterIndex,
java.lang.String x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setString
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setString(int, java.lang.String)
setBytes
public void setBytes(int parameterIndex,
byte[] x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBytes
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setBytes(int, byte[])
setDate
public void setDate(int parameterIndex,
java.sql.Date x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setDate
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setDate(int, java.sql.Date)
setTime
public void setTime(int parameterIndex,
java.sql.Time x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTime
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setTime(int, java.sql.Time)
setTimestamp
public void setTimestamp(int parameterIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTimestamp
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setTimestamp(int, java.sql.Timestamp)
setAsciiStream
public void setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setAsciiStream
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setAsciiStream(int, java.io.InputStream,
int)
setUnicodeStream
public void setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
- 推奨されていません。
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setUnicodeStream
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setUnicodeStream(int,
java.io.InputStream, int)
setBinaryStream
public void setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBinaryStream
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setBinaryStream(int, java.io.InputStream,
int)
clearParameters
public void clearParameters()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の clearParameters
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.clearParameters()
setObject
public void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType,
int scale)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setObject
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setObject(int, java.lang.Object, int,
int)
setObject
public void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setObject
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setObject(int, java.lang.Object, int)
setObject
public void setObject(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setObject
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setObject(int, java.lang.Object)
execute
public boolean execute()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の execute
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.execute()
addBatch
public void addBatch()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の addBatch
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.addBatch()
setCharacterStream
public void setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setCharacterStream
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setCharacterStream(int, java.io.Reader,
int)
setRef
public void setRef(int i,
java.sql.Ref x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setRef
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setRef(int, java.sql.Ref)
setBlob
public void setBlob(int i,
java.sql.Blob x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setBlob
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setBlob(int, java.sql.Blob)
setClob
public void setClob(int i,
java.sql.Clob x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setClob
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setClob(int, java.sql.Clob)
setArray
public void setArray(int i,
java.sql.Array x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setArray
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setArray(int, java.sql.Array)
getMetaData
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の getMetaData
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.getMetaData()
setDate
public void setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setDate
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setDate(int, java.sql.Date,
java.util.Calendar)
setTime
public void setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTime
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setTime(int, java.sql.Time,
java.util.Calendar)
setTimestamp
public void setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setTimestamp
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setTimestamp(int, java.sql.Timestamp,
java.util.Calendar)
setNull
public void setNull(int paramIndex,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setNull
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setNull(int, int, java.lang.String)
setURL
public void setURL(int parameterIndex,
java.net.URL x)
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の setURL
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.setURL(int, java.net.URL)
getParameterMetaData
public java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
- 定義:
- インタフェース
java.sql.PreparedStatement
内の getParameterMetaData
- 例外:
java.sql.SQLException
- 関連項目:
PreparedStatement.getParameterMetaData()
Copyright © 2004 asyrinx organization. All Rights Reserved.