|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.dbms.test.sql.Thrower org.melati.poem.dbms.test.sql.ThrowingPreparedStatementJdbc3 org.melati.poem.dbms.test.sql.ThrowingPreparedStatementJdbc4
public abstract class ThrowingPreparedStatementJdbc4
The JDBC4 members of a PreparedStatement
, decorated to throw an SQLException on command.
Field Summary |
---|
Fields inherited from interface java.sql.Statement |
---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Constructor Summary | |
---|---|
ThrowingPreparedStatementJdbc4()
|
Method Summary | ||
---|---|---|
boolean |
isClosed()
|
|
boolean |
isPoolable()
|
|
boolean |
isWrapperFor(Class<?> iface)
|
|
void |
setAsciiStream(int parameterIndex,
InputStream x)
|
|
void |
setAsciiStream(int parameterIndex,
InputStream x,
long length)
|
|
void |
setBinaryStream(int parameterIndex,
InputStream x)
|
|
void |
setBinaryStream(int parameterIndex,
InputStream x,
long length)
|
|
void |
setBlob(int parameterIndex,
InputStream inputStream)
|
|
void |
setBlob(int parameterIndex,
InputStream inputStream,
long length)
|
|
void |
setCharacterStream(int parameterIndex,
Reader reader)
|
|
void |
setCharacterStream(int parameterIndex,
Reader reader,
long length)
|
|
void |
setClob(int parameterIndex,
Reader reader)
|
|
void |
setClob(int parameterIndex,
Reader reader,
long length)
|
|
void |
setNCharacterStream(int parameterIndex,
Reader value)
|
|
void |
setNCharacterStream(int parameterIndex,
Reader value,
long length)
|
|
void |
setNClob(int parameterIndex,
NClob value)
|
|
void |
setNClob(int parameterIndex,
Reader reader)
|
|
void |
setNClob(int parameterIndex,
Reader reader,
long length)
|
|
void |
setNString(int parameterIndex,
String value)
|
|
void |
setPoolable(boolean poolable)
|
|
void |
setRowId(int parameterIndex,
RowId x)
|
|
void |
setSQLXML(int parameterIndex,
SQLXML xmlObject)
|
|
|
unwrap(Class<T> iface)
|
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower |
---|
shouldThrow, startThrowing, startThrowingAfter, stopThrowing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.PreparedStatement |
---|
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL |
Constructor Detail |
---|
public ThrowingPreparedStatementJdbc4()
Method Detail |
---|
public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
PreparedStatement.setAsciiStream(int, java.io.InputStream, long)
public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
PreparedStatement.setAsciiStream(int, java.io.InputStream)
public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
PreparedStatement.setBinaryStream(int, java.io.InputStream, long)
public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
PreparedStatement.setBinaryStream(int, java.io.InputStream)
public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException
setBlob
in interface PreparedStatement
SQLException
PreparedStatement.setBlob(int, java.io.InputStream, long)
public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException
setBlob
in interface PreparedStatement
SQLException
PreparedStatement.setBlob(int, java.io.InputStream)
public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setCharacterStream(int, java.io.Reader, long)
public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setCharacterStream(int, java.io.Reader)
public void setClob(int parameterIndex, Reader reader, long length) throws SQLException
setClob
in interface PreparedStatement
SQLException
PreparedStatement.setClob(int, java.io.Reader, long)
public void setClob(int parameterIndex, Reader reader) throws SQLException
setClob
in interface PreparedStatement
SQLException
PreparedStatement.setClob(int, java.io.Reader)
public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setNCharacterStream(int, java.io.Reader, long)
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setNCharacterStream(int, java.io.Reader)
public void setNClob(int parameterIndex, NClob value) throws SQLException
setNClob
in interface PreparedStatement
SQLException
PreparedStatement.setNClob(int, java.sql.NClob)
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException
setNClob
in interface PreparedStatement
SQLException
PreparedStatement.setNClob(int, java.io.Reader, long)
public void setNClob(int parameterIndex, Reader reader) throws SQLException
setNClob
in interface PreparedStatement
SQLException
PreparedStatement.setNClob(int, java.io.Reader)
public void setNString(int parameterIndex, String value) throws SQLException
setNString
in interface PreparedStatement
SQLException
PreparedStatement.setNString(int, java.lang.String)
public void setRowId(int parameterIndex, RowId x) throws SQLException
setRowId
in interface PreparedStatement
SQLException
PreparedStatement.setRowId(int, java.sql.RowId)
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
setSQLXML
in interface PreparedStatement
SQLException
PreparedStatement.setSQLXML(int, java.sql.SQLXML)
public boolean isClosed() throws SQLException
isClosed
in interface Statement
SQLException
Statement.isClosed()
public boolean isPoolable() throws SQLException
isPoolable
in interface Statement
SQLException
Statement.isPoolable()
public void setPoolable(boolean poolable) throws SQLException
setPoolable
in interface Statement
SQLException
Statement.setPoolable(boolean)
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
Wrapper.isWrapperFor(java.lang.Class)
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
Wrapper.unwrap(java.lang.Class)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |