|
||||||||||
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.ThrowingCallableStatementJdbc3 org.melati.poem.dbms.test.sql.ThrowingCallableStatementJdbc4
public abstract class ThrowingCallableStatementJdbc4
The JDBC4 members of a CallableStatement
, 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 | |
---|---|
ThrowingCallableStatementJdbc4()
|
Method Summary | ||
---|---|---|
Reader |
getCharacterStream(int parameterIndex)
|
|
Reader |
getCharacterStream(String parameterName)
|
|
Reader |
getNCharacterStream(int parameterIndex)
|
|
Reader |
getNCharacterStream(String parameterName)
|
|
NClob |
getNClob(int parameterIndex)
|
|
NClob |
getNClob(String parameterName)
|
|
String |
getNString(int parameterIndex)
|
|
String |
getNString(String parameterName)
|
|
RowId |
getRowId(int parameterIndex)
|
|
RowId |
getRowId(String parameterName)
|
|
SQLXML |
getSQLXML(int parameterIndex)
|
|
SQLXML |
getSQLXML(String parameterName)
|
|
boolean |
isClosed()
|
|
boolean |
isPoolable()
|
|
boolean |
isWrapperFor(Class<?> iface)
|
|
void |
setAsciiStream(int parameterIndex,
InputStream x)
|
|
void |
setAsciiStream(int parameterIndex,
InputStream x,
long length)
|
|
void |
setAsciiStream(String parameterName,
InputStream x)
|
|
void |
setAsciiStream(String parameterName,
InputStream x,
long length)
|
|
void |
setBinaryStream(int parameterIndex,
InputStream x)
|
|
void |
setBinaryStream(int parameterIndex,
InputStream x,
long length)
|
|
void |
setBinaryStream(String parameterName,
InputStream x)
|
|
void |
setBinaryStream(String parameterName,
InputStream x,
long length)
|
|
void |
setBlob(int parameterIndex,
InputStream inputStream)
|
|
void |
setBlob(int parameterIndex,
InputStream inputStream,
long length)
|
|
void |
setBlob(String parameterName,
Blob x)
|
|
void |
setBlob(String parameterName,
InputStream inputStream)
|
|
void |
setBlob(String parameterName,
InputStream inputStream,
long length)
|
|
void |
setCharacterStream(int parameterIndex,
Reader reader)
|
|
void |
setCharacterStream(int parameterIndex,
Reader reader,
long length)
|
|
void |
setCharacterStream(String parameterName,
Reader reader)
|
|
void |
setCharacterStream(String parameterName,
Reader reader,
long length)
|
|
void |
setClob(int parameterIndex,
Reader reader)
|
|
void |
setClob(int parameterIndex,
Reader reader,
long length)
|
|
void |
setClob(String parameterName,
Clob x)
|
|
void |
setClob(String parameterName,
Reader reader)
|
|
void |
setClob(String parameterName,
Reader reader,
long length)
|
|
void |
setNCharacterStream(int parameterIndex,
Reader value)
|
|
void |
setNCharacterStream(int parameterIndex,
Reader value,
long length)
|
|
void |
setNCharacterStream(String parameterName,
Reader value)
|
|
void |
setNCharacterStream(String parameterName,
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 |
setNClob(String parameterName,
NClob value)
|
|
void |
setNClob(String parameterName,
Reader reader)
|
|
void |
setNClob(String parameterName,
Reader reader,
long length)
|
|
void |
setNString(int parameterIndex,
String value)
|
|
void |
setNString(String parameterName,
String value)
|
|
void |
setPoolable(boolean poolable)
|
|
void |
setRowId(int parameterIndex,
RowId x)
|
|
void |
setRowId(String parameterName,
RowId x)
|
|
void |
setSQLXML(int parameterIndex,
SQLXML xmlObject)
|
|
void |
setSQLXML(String parameterName,
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.CallableStatement |
---|
getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getClob, getClob, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getURL, getURL, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setAsciiStream, setBigDecimal, setBinaryStream, setBoolean, setByte, setBytes, setCharacterStream, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNull |
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 ThrowingCallableStatementJdbc4()
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)
public Reader getCharacterStream(int parameterIndex) throws SQLException
getCharacterStream
in interface CallableStatement
SQLException
CallableStatement.getCharacterStream(int)
public Reader getCharacterStream(String parameterName) throws SQLException
getCharacterStream
in interface CallableStatement
SQLException
CallableStatement.getCharacterStream(java.lang.String)
public Reader getNCharacterStream(int parameterIndex) throws SQLException
getNCharacterStream
in interface CallableStatement
SQLException
CallableStatement.getNCharacterStream(int)
public Reader getNCharacterStream(String parameterName) throws SQLException
getNCharacterStream
in interface CallableStatement
SQLException
CallableStatement.getNCharacterStream(java.lang.String)
public NClob getNClob(int parameterIndex) throws SQLException
getNClob
in interface CallableStatement
SQLException
CallableStatement.getNClob(int)
public NClob getNClob(String parameterName) throws SQLException
getNClob
in interface CallableStatement
SQLException
CallableStatement.getNClob(java.lang.String)
public String getNString(int parameterIndex) throws SQLException
getNString
in interface CallableStatement
SQLException
CallableStatement.getNString(int)
public String getNString(String parameterName) throws SQLException
getNString
in interface CallableStatement
SQLException
CallableStatement.getNString(java.lang.String)
public RowId getRowId(int parameterIndex) throws SQLException
getRowId
in interface CallableStatement
SQLException
CallableStatement.getRowId(int)
public RowId getRowId(String parameterName) throws SQLException
getRowId
in interface CallableStatement
SQLException
CallableStatement.getRowId(java.lang.String)
public SQLXML getSQLXML(int parameterIndex) throws SQLException
getSQLXML
in interface CallableStatement
SQLException
CallableStatement.getSQLXML(int)
public SQLXML getSQLXML(String parameterName) throws SQLException
getSQLXML
in interface CallableStatement
SQLException
CallableStatement.getSQLXML(java.lang.String)
public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
CallableStatement.setAsciiStream(java.lang.String, java.io.InputStream, long)
public void setAsciiStream(String parameterName, InputStream x) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
CallableStatement.setAsciiStream(java.lang.String, java.io.InputStream)
public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
CallableStatement.setBinaryStream(java.lang.String, java.io.InputStream, long)
public void setBinaryStream(String parameterName, InputStream x) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
CallableStatement.setBinaryStream(java.lang.String, java.io.InputStream)
public void setBlob(String parameterName, Blob x) throws SQLException
setBlob
in interface CallableStatement
SQLException
CallableStatement.setBlob(java.lang.String, java.sql.Blob)
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException
setBlob
in interface CallableStatement
SQLException
CallableStatement.setBlob(java.lang.String, java.io.InputStream, long)
public void setBlob(String parameterName, InputStream inputStream) throws SQLException
setBlob
in interface CallableStatement
SQLException
CallableStatement.setBlob(java.lang.String, java.io.InputStream)
public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
CallableStatement.setCharacterStream(java.lang.String, java.io.Reader, long)
public void setCharacterStream(String parameterName, Reader reader) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
CallableStatement.setCharacterStream(java.lang.String, java.io.Reader)
public void setClob(String parameterName, Clob x) throws SQLException
setClob
in interface CallableStatement
SQLException
CallableStatement.setClob(java.lang.String, java.sql.Clob)
public void setClob(String parameterName, Reader reader, long length) throws SQLException
setClob
in interface CallableStatement
SQLException
CallableStatement.setClob(java.lang.String, java.io.Reader, long)
public void setClob(String parameterName, Reader reader) throws SQLException
setClob
in interface CallableStatement
SQLException
CallableStatement.setClob(java.lang.String, java.io.Reader)
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException
setNCharacterStream
in interface CallableStatement
SQLException
CallableStatement.setNCharacterStream(java.lang.String, java.io.Reader, long)
public void setNCharacterStream(String parameterName, Reader value) throws SQLException
setNCharacterStream
in interface CallableStatement
SQLException
CallableStatement.setNCharacterStream(java.lang.String, java.io.Reader)
public void setNClob(String parameterName, NClob value) throws SQLException
setNClob
in interface CallableStatement
SQLException
CallableStatement.setNClob(java.lang.String, java.sql.NClob)
public void setNClob(String parameterName, Reader reader, long length) throws SQLException
setNClob
in interface CallableStatement
SQLException
CallableStatement.setNClob(java.lang.String, java.io.Reader, long)
public void setNClob(String parameterName, Reader reader) throws SQLException
setNClob
in interface CallableStatement
SQLException
CallableStatement.setNClob(java.lang.String, java.io.Reader)
public void setNString(String parameterName, String value) throws SQLException
setNString
in interface CallableStatement
SQLException
CallableStatement.setNString(java.lang.String, java.lang.String)
public void setRowId(String parameterName, RowId x) throws SQLException
setRowId
in interface CallableStatement
SQLException
CallableStatement.setRowId(java.lang.String, java.sql.RowId)
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException
setSQLXML
in interface CallableStatement
SQLException
CallableStatement.setSQLXML(java.lang.String, java.sql.SQLXML)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |