public class DelegatingCallableStatement extends Object implements CallableStatement, Closeable
CallableStatement
that delegates to an internal statement.CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
DelegatingCallableStatement(CallableStatement stmnt,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch() |
void |
addBatch(String str) |
protected void |
appendInfo(StringBuffer buf) |
void |
cancel() |
void |
clearBatch() |
void |
clearParameters() |
void |
clearWarnings() |
void |
close() |
void |
closeOnCompletion() |
boolean |
equals(Object other) |
boolean |
execute() |
boolean |
execute(String str) |
boolean |
execute(String s,
int i) |
boolean |
execute(String s,
int[] ia) |
boolean |
execute(String s,
String[] sa) |
int[] |
executeBatch() |
ResultSet |
executeQuery() |
protected ResultSet |
executeQuery(boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet , which is the default. |
ResultSet |
executeQuery(String str) |
protected ResultSet |
executeQuery(String sql,
boolean wrap)
Execute the query, with the option of not wrapping it in a
DelegatingResultSet , which is the default. |
int |
executeUpdate() |
int |
executeUpdate(String str) |
int |
executeUpdate(String s,
int i) |
int |
executeUpdate(String s,
int[] ia) |
int |
executeUpdate(String s,
String[] sa) |
Array |
getArray(int i) |
Array |
getArray(String a) |
BigDecimal |
getBigDecimal(int i) |
BigDecimal |
getBigDecimal(int a,
int b)
Deprecated.
use
getBigDecimal(int parameterIndex) or
getBigDecimal(String parameterName) |
BigDecimal |
getBigDecimal(String a) |
Blob |
getBlob(int i) |
Blob |
getBlob(String a) |
boolean |
getBoolean(int i) |
boolean |
getBoolean(String a) |
byte |
getByte(int i) |
byte |
getByte(String a) |
byte[] |
getBytes(int i) |
byte[] |
getBytes(String a) |
Reader |
getCharacterStream(int parameterIndex) |
Reader |
getCharacterStream(String parameterName) |
Clob |
getClob(int i) |
Clob |
getClob(String a) |
Connection |
getConnection() |
Date |
getDate(int i) |
Date |
getDate(int i,
Calendar c) |
Date |
getDate(String a) |
Date |
getDate(String a,
Calendar b) |
CallableStatement |
getDelegate()
Return the wrapped statement.
|
double |
getDouble(int i) |
double |
getDouble(String a) |
int |
getFetchDirection() |
int |
getFetchSize() |
float |
getFloat(int i) |
float |
getFloat(String a) |
ResultSet |
getGeneratedKeys() |
CallableStatement |
getInnermostDelegate()
Return the base underlying data store statement.
|
int |
getInt(int i) |
int |
getInt(String a) |
long |
getLong(int i) |
long |
getLong(String a) |
int |
getMaxFieldSize() |
int |
getMaxRows() |
ResultSetMetaData |
getMetaData() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int i) |
Reader |
getNCharacterStream(int parameterIndex) |
Reader |
getNCharacterStream(String parameterName) |
NClob |
getNClob(int parameterIndex) |
NClob |
getNClob(String parameterName) |
String |
getNString(int parameterIndex) |
String |
getNString(String parameterName) |
Object |
getObject(int i) |
<T> T |
getObject(int columnIndex,
Class<T> type) |
Object |
getObject(int i,
Map<String,Class<?>> m) |
Object |
getObject(String a) |
<T> T |
getObject(String columnLabel,
Class<T> type) |
Object |
getObject(String a,
Map<String,Class<?>> b) |
ParameterMetaData |
getParameterMetaData() |
int |
getQueryTimeout() |
Ref |
getRef(int i) |
Ref |
getRef(String a) |
ResultSet |
getResultSet() |
protected ResultSet |
getResultSet(boolean wrap)
Get the last result set, with the option of not wrapping it in a
DelegatingResultSet , which is the default. |
int |
getResultSetConcurrency() |
int |
getResultSetHoldability() |
int |
getResultSetType() |
RowId |
getRowId(int parameterIndex) |
RowId |
getRowId(String parameterName) |
short |
getShort(int i) |
short |
getShort(String a) |
SQLXML |
getSQLXML(int parameterIndex) |
SQLXML |
getSQLXML(String parameterName) |
String |
getString(int i) |
String |
getString(String a) |
Time |
getTime(int i) |
Time |
getTime(int i,
Calendar c) |
Time |
getTime(String a) |
Time |
getTime(String a,
Calendar b) |
Timestamp |
getTimestamp(int i) |
Timestamp |
getTimestamp(int i,
Calendar c) |
Timestamp |
getTimestamp(String a) |
Timestamp |
getTimestamp(String a,
Calendar b) |
int |
getUpdateCount() |
URL |
getURL(int i) |
URL |
getURL(String a) |
SQLWarning |
getWarnings() |
int |
hashCode() |
boolean |
isClosed() |
boolean |
isCloseOnCompletion() |
boolean |
isPoolable() |
boolean |
isWrapperFor(Class<?> iface) |
void |
registerOutParameter(int i1,
int i2) |
void |
registerOutParameter(int i1,
int i2,
int i3) |
void |
registerOutParameter(int i1,
int i2,
String s) |
void |
registerOutParameter(String s,
int i) |
void |
registerOutParameter(String s,
int i1,
int i2) |
void |
registerOutParameter(String s1,
int i,
String s2) |
void |
setArray(int i,
Array a) |
void |
setAsciiStream(int parameterIndex,
InputStream x) |
void |
setAsciiStream(int i1,
InputStream is,
int i2) |
void |
setAsciiStream(int parameterIndex,
InputStream x,
long length) |
void |
setAsciiStream(String parameterName,
InputStream x) |
void |
setAsciiStream(String a,
InputStream b,
int c) |
void |
setAsciiStream(String parameterName,
InputStream x,
long length) |
void |
setBigDecimal(int i,
BigDecimal bd) |
void |
setBigDecimal(String a,
BigDecimal b) |
void |
setBinaryStream(int parameterIndex,
InputStream x) |
void |
setBinaryStream(int i1,
InputStream is,
int i2) |
void |
setBinaryStream(int parameterIndex,
InputStream x,
long length) |
void |
setBinaryStream(String parameterName,
InputStream x) |
void |
setBinaryStream(String a,
InputStream b,
int c) |
void |
setBinaryStream(String parameterName,
InputStream x,
long length) |
void |
setBlob(int i,
Blob b) |
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 |
setBoolean(int i,
boolean b) |
void |
setBoolean(String a,
boolean b) |
void |
setByte(int i,
byte b) |
void |
setByte(String a,
byte b) |
void |
setBytes(int i,
byte[] b) |
void |
setBytes(String a,
byte[] b) |
void |
setCharacterStream(int parameterIndex,
Reader reader) |
void |
setCharacterStream(int i1,
Reader r,
int i2) |
void |
setCharacterStream(int parameterIndex,
Reader reader,
long length) |
void |
setCharacterStream(String parameterName,
Reader reader) |
void |
setCharacterStream(String a,
Reader b,
int c) |
void |
setCharacterStream(String parameterName,
Reader reader,
long length) |
void |
setClob(int i,
Clob c) |
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 |
setCursorName(String str) |
void |
setDate(int i,
Date d) |
void |
setDate(int i,
Date d,
Calendar c) |
void |
setDate(String a,
Date b) |
void |
setDate(String a,
Date b,
Calendar c) |
void |
setDouble(int i,
double d) |
void |
setDouble(String a,
double b) |
void |
setEscapeProcessing(boolean bool) |
void |
setFetchDirection(int i) |
void |
setFetchSize(int i) |
void |
setFloat(int i,
float f) |
void |
setFloat(String a,
float b) |
void |
setInt(int i1,
int i2) |
void |
setInt(String a,
int b) |
void |
setLong(int i,
long l) |
void |
setLong(String a,
long b) |
void |
setMaxFieldSize(int i) |
void |
setMaxRows(int i) |
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 |
setNull(int i1,
int i2) |
void |
setNull(int i1,
int i2,
String s) |
void |
setNull(String a,
int b) |
void |
setNull(String a,
int b,
String c) |
void |
setObject(int i,
Object o) |
void |
setObject(int i1,
Object o,
int i2) |
void |
setObject(int i1,
Object o,
int i2,
int i3) |
void |
setObject(String a,
Object b) |
void |
setObject(String a,
Object b,
int c) |
void |
setObject(String a,
Object b,
int c,
int d) |
void |
setPoolable(boolean poolable) |
void |
setQueryTimeout(int i) |
void |
setRef(int i,
Ref r) |
void |
setRowId(int parameterIndex,
RowId x) |
void |
setRowId(String parameterName,
RowId x) |
void |
setShort(int i,
short s) |
void |
setShort(String a,
short b) |
void |
setSQLXML(int parameterIndex,
SQLXML xmlObject) |
void |
setSQLXML(String parameterName,
SQLXML xmlObject) |
void |
setString(int i,
String s) |
void |
setString(String a,
String b) |
void |
setTime(int i,
Time t) |
void |
setTime(int i,
Time t,
Calendar c) |
void |
setTime(String a,
Time b) |
void |
setTime(String a,
Time b,
Calendar c) |
void |
setTimestamp(int i,
Timestamp t) |
void |
setTimestamp(int i,
Timestamp t,
Calendar c) |
void |
setTimestamp(String a,
Timestamp b) |
void |
setTimestamp(String a,
Timestamp b,
Calendar c) |
void |
setUnicodeStream(int i1,
InputStream is,
int i2)
Deprecated.
|
void |
setURL(int i,
URL url) |
void |
setURL(String a,
URL b) |
String |
toString() |
<T> T |
unwrap(Class<T> iface) |
boolean |
wasNull() |
protected ResultSet |
wrapResult(boolean wrap,
ResultSet rs) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setObject, setObject
executeLargeUpdate, setObject, setObject
executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRows
public DelegatingCallableStatement(CallableStatement stmnt, Connection conn)
public CallableStatement getDelegate()
public CallableStatement getInnermostDelegate()
protected void appendInfo(StringBuffer buf)
public ResultSet executeQuery(String str) throws SQLException
executeQuery
in interface Statement
SQLException
protected ResultSet executeQuery(String sql, boolean wrap) throws SQLException
DelegatingResultSet
, which is the default.SQLException
public int executeUpdate(String str) throws SQLException
executeUpdate
in interface Statement
SQLException
public boolean execute(String str) throws SQLException
execute
in interface Statement
SQLException
public void close() throws SQLException
close
in interface AutoCloseable
close
in interface Statement
close
in interface Closeable
SQLException
public int getMaxFieldSize() throws SQLException
getMaxFieldSize
in interface Statement
SQLException
public void setMaxFieldSize(int i) throws SQLException
setMaxFieldSize
in interface Statement
SQLException
public int getMaxRows() throws SQLException
getMaxRows
in interface Statement
SQLException
public void setMaxRows(int i) throws SQLException
setMaxRows
in interface Statement
SQLException
public void setEscapeProcessing(boolean bool) throws SQLException
setEscapeProcessing
in interface Statement
SQLException
public int getQueryTimeout() throws SQLException
getQueryTimeout
in interface Statement
SQLException
public void setQueryTimeout(int i) throws SQLException
setQueryTimeout
in interface Statement
SQLException
public void cancel() throws SQLException
cancel
in interface Statement
SQLException
public SQLWarning getWarnings() throws SQLException
getWarnings
in interface Statement
SQLException
public void clearWarnings() throws SQLException
clearWarnings
in interface Statement
SQLException
public void setCursorName(String str) throws SQLException
setCursorName
in interface Statement
SQLException
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Statement
SQLException
protected ResultSet getResultSet(boolean wrap) throws SQLException
DelegatingResultSet
, which is the default.SQLException
public int getUpdateCount() throws SQLException
getUpdateCount
in interface Statement
SQLException
public boolean getMoreResults() throws SQLException
getMoreResults
in interface Statement
SQLException
public void setFetchDirection(int i) throws SQLException
setFetchDirection
in interface Statement
SQLException
public int getFetchDirection() throws SQLException
getFetchDirection
in interface Statement
SQLException
public void setFetchSize(int i) throws SQLException
setFetchSize
in interface Statement
SQLException
public int getFetchSize() throws SQLException
getFetchSize
in interface Statement
SQLException
public int getResultSetConcurrency() throws SQLException
getResultSetConcurrency
in interface Statement
SQLException
public int getResultSetType() throws SQLException
getResultSetType
in interface Statement
SQLException
public void addBatch(String str) throws SQLException
addBatch
in interface Statement
SQLException
public void clearBatch() throws SQLException
clearBatch
in interface Statement
SQLException
public int[] executeBatch() throws SQLException
executeBatch
in interface Statement
SQLException
public Connection getConnection() throws SQLException
getConnection
in interface Statement
SQLException
public ResultSet executeQuery() throws SQLException
executeQuery
in interface PreparedStatement
SQLException
protected ResultSet executeQuery(boolean wrap) throws SQLException
DelegatingResultSet
, which is the default.SQLException
public int executeUpdate() throws SQLException
executeUpdate
in interface PreparedStatement
SQLException
public void setNull(int i1, int i2) throws SQLException
setNull
in interface PreparedStatement
SQLException
public void setBoolean(int i, boolean b) throws SQLException
setBoolean
in interface PreparedStatement
SQLException
public void setByte(int i, byte b) throws SQLException
setByte
in interface PreparedStatement
SQLException
public void setShort(int i, short s) throws SQLException
setShort
in interface PreparedStatement
SQLException
public void setInt(int i1, int i2) throws SQLException
setInt
in interface PreparedStatement
SQLException
public void setLong(int i, long l) throws SQLException
setLong
in interface PreparedStatement
SQLException
public void setFloat(int i, float f) throws SQLException
setFloat
in interface PreparedStatement
SQLException
public void setDouble(int i, double d) throws SQLException
setDouble
in interface PreparedStatement
SQLException
public void setBigDecimal(int i, BigDecimal bd) throws SQLException
setBigDecimal
in interface PreparedStatement
SQLException
public void setString(int i, String s) throws SQLException
setString
in interface PreparedStatement
SQLException
public void setBytes(int i, byte[] b) throws SQLException
setBytes
in interface PreparedStatement
SQLException
public void setDate(int i, Date d) throws SQLException
setDate
in interface PreparedStatement
SQLException
public void setTime(int i, Time t) throws SQLException
setTime
in interface PreparedStatement
SQLException
public void setTimestamp(int i, Timestamp t) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
public void setAsciiStream(int i1, InputStream is, int i2) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
@Deprecated public void setUnicodeStream(int i1, InputStream is, int i2) throws SQLException
setUnicodeStream
in interface PreparedStatement
SQLException
public void setBinaryStream(int i1, InputStream is, int i2) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
public void clearParameters() throws SQLException
clearParameters
in interface PreparedStatement
SQLException
public void setObject(int i1, Object o, int i2, int i3) throws SQLException
setObject
in interface PreparedStatement
SQLException
public void setObject(int i1, Object o, int i2) throws SQLException
setObject
in interface PreparedStatement
SQLException
public void setObject(int i, Object o) throws SQLException
setObject
in interface PreparedStatement
SQLException
public boolean execute() throws SQLException
execute
in interface PreparedStatement
SQLException
public void addBatch() throws SQLException
addBatch
in interface PreparedStatement
SQLException
public void setCharacterStream(int i1, Reader r, int i2) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
public void setRef(int i, Ref r) throws SQLException
setRef
in interface PreparedStatement
SQLException
public void setBlob(int i, Blob b) throws SQLException
setBlob
in interface PreparedStatement
SQLException
public void setClob(int i, Clob c) throws SQLException
setClob
in interface PreparedStatement
SQLException
public void setArray(int i, Array a) throws SQLException
setArray
in interface PreparedStatement
SQLException
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface PreparedStatement
SQLException
public void setDate(int i, Date d, Calendar c) throws SQLException
setDate
in interface PreparedStatement
SQLException
public void setTime(int i, Time t, Calendar c) throws SQLException
setTime
in interface PreparedStatement
SQLException
public void setTimestamp(int i, Timestamp t, Calendar c) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
public void setNull(int i1, int i2, String s) throws SQLException
setNull
in interface PreparedStatement
SQLException
public boolean getMoreResults(int i) throws SQLException
getMoreResults
in interface Statement
SQLException
public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys
in interface Statement
SQLException
public int executeUpdate(String s, int i) throws SQLException
executeUpdate
in interface Statement
SQLException
public int executeUpdate(String s, int[] ia) throws SQLException
executeUpdate
in interface Statement
SQLException
public int executeUpdate(String s, String[] sa) throws SQLException
executeUpdate
in interface Statement
SQLException
public boolean execute(String s, int i) throws SQLException
execute
in interface Statement
SQLException
public boolean execute(String s, int[] ia) throws SQLException
execute
in interface Statement
SQLException
public boolean execute(String s, String[] sa) throws SQLException
execute
in interface Statement
SQLException
public int getResultSetHoldability() throws SQLException
getResultSetHoldability
in interface Statement
SQLException
public void setURL(int i, URL url) throws SQLException
setURL
in interface PreparedStatement
SQLException
public ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData
in interface PreparedStatement
SQLException
public void registerOutParameter(int i1, int i2) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(int i1, int i2, int i3) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public boolean wasNull() throws SQLException
wasNull
in interface CallableStatement
SQLException
public String getString(int i) throws SQLException
getString
in interface CallableStatement
SQLException
public boolean getBoolean(int i) throws SQLException
getBoolean
in interface CallableStatement
SQLException
public byte getByte(int i) throws SQLException
getByte
in interface CallableStatement
SQLException
public short getShort(int i) throws SQLException
getShort
in interface CallableStatement
SQLException
public int getInt(int i) throws SQLException
getInt
in interface CallableStatement
SQLException
public long getLong(int i) throws SQLException
getLong
in interface CallableStatement
SQLException
public float getFloat(int i) throws SQLException
getFloat
in interface CallableStatement
SQLException
public double getDouble(int i) throws SQLException
getDouble
in interface CallableStatement
SQLException
@Deprecated public BigDecimal getBigDecimal(int a, int b) throws SQLException
getBigDecimal(int parameterIndex)
or
getBigDecimal(String parameterName)
getBigDecimal
in interface CallableStatement
SQLException
public byte[] getBytes(int i) throws SQLException
getBytes
in interface CallableStatement
SQLException
public Date getDate(int i) throws SQLException
getDate
in interface CallableStatement
SQLException
public Time getTime(int i) throws SQLException
getTime
in interface CallableStatement
SQLException
public Timestamp getTimestamp(int i) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public Object getObject(int i) throws SQLException
getObject
in interface CallableStatement
SQLException
public BigDecimal getBigDecimal(int i) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
public Object getObject(int i, Map<String,Class<?>> m) throws SQLException
getObject
in interface CallableStatement
SQLException
public Ref getRef(int i) throws SQLException
getRef
in interface CallableStatement
SQLException
public Blob getBlob(int i) throws SQLException
getBlob
in interface CallableStatement
SQLException
public Clob getClob(int i) throws SQLException
getClob
in interface CallableStatement
SQLException
public Array getArray(int i) throws SQLException
getArray
in interface CallableStatement
SQLException
public Date getDate(int i, Calendar c) throws SQLException
getDate
in interface CallableStatement
SQLException
public Time getTime(int i, Calendar c) throws SQLException
getTime
in interface CallableStatement
SQLException
public Timestamp getTimestamp(int i, Calendar c) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public void registerOutParameter(int i1, int i2, String s) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String s, int i) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String s, int i1, int i2) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String s1, int i, String s2) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public URL getURL(int i) throws SQLException
getURL
in interface CallableStatement
SQLException
public void setURL(String a, URL b) throws SQLException
setURL
in interface CallableStatement
SQLException
public URL getURL(String a) throws SQLException
getURL
in interface CallableStatement
SQLException
public void setNull(String a, int b) throws SQLException
setNull
in interface CallableStatement
SQLException
public void setBoolean(String a, boolean b) throws SQLException
setBoolean
in interface CallableStatement
SQLException
public void setByte(String a, byte b) throws SQLException
setByte
in interface CallableStatement
SQLException
public void setShort(String a, short b) throws SQLException
setShort
in interface CallableStatement
SQLException
public void setInt(String a, int b) throws SQLException
setInt
in interface CallableStatement
SQLException
public void setLong(String a, long b) throws SQLException
setLong
in interface CallableStatement
SQLException
public void setFloat(String a, float b) throws SQLException
setFloat
in interface CallableStatement
SQLException
public void setDouble(String a, double b) throws SQLException
setDouble
in interface CallableStatement
SQLException
public void setBigDecimal(String a, BigDecimal b) throws SQLException
setBigDecimal
in interface CallableStatement
SQLException
public void setString(String a, String b) throws SQLException
setString
in interface CallableStatement
SQLException
public void setBytes(String a, byte[] b) throws SQLException
setBytes
in interface CallableStatement
SQLException
public void setDate(String a, Date b) throws SQLException
setDate
in interface CallableStatement
SQLException
public void setTime(String a, Time b) throws SQLException
setTime
in interface CallableStatement
SQLException
public void setTimestamp(String a, Timestamp b) throws SQLException
setTimestamp
in interface CallableStatement
SQLException
public void setAsciiStream(String a, InputStream b, int c) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
public void setBinaryStream(String a, InputStream b, int c) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
public void setObject(String a, Object b, int c, int d) throws SQLException
setObject
in interface CallableStatement
SQLException
public void setObject(String a, Object b, int c) throws SQLException
setObject
in interface CallableStatement
SQLException
public void setObject(String a, Object b) throws SQLException
setObject
in interface CallableStatement
SQLException
public void setCharacterStream(String a, Reader b, int c) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
public void setDate(String a, Date b, Calendar c) throws SQLException
setDate
in interface CallableStatement
SQLException
public void setTime(String a, Time b, Calendar c) throws SQLException
setTime
in interface CallableStatement
SQLException
public void setTimestamp(String a, Timestamp b, Calendar c) throws SQLException
setTimestamp
in interface CallableStatement
SQLException
public void setNull(String a, int b, String c) throws SQLException
setNull
in interface CallableStatement
SQLException
public String getString(String a) throws SQLException
getString
in interface CallableStatement
SQLException
public boolean getBoolean(String a) throws SQLException
getBoolean
in interface CallableStatement
SQLException
public byte getByte(String a) throws SQLException
getByte
in interface CallableStatement
SQLException
public short getShort(String a) throws SQLException
getShort
in interface CallableStatement
SQLException
public int getInt(String a) throws SQLException
getInt
in interface CallableStatement
SQLException
public long getLong(String a) throws SQLException
getLong
in interface CallableStatement
SQLException
public float getFloat(String a) throws SQLException
getFloat
in interface CallableStatement
SQLException
public double getDouble(String a) throws SQLException
getDouble
in interface CallableStatement
SQLException
public byte[] getBytes(String a) throws SQLException
getBytes
in interface CallableStatement
SQLException
public Date getDate(String a) throws SQLException
getDate
in interface CallableStatement
SQLException
public Time getTime(String a) throws SQLException
getTime
in interface CallableStatement
SQLException
public Timestamp getTimestamp(String a) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public Object getObject(String a) throws SQLException
getObject
in interface CallableStatement
SQLException
public BigDecimal getBigDecimal(String a) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
public Object getObject(String a, Map<String,Class<?>> b) throws SQLException
getObject
in interface CallableStatement
SQLException
public Ref getRef(String a) throws SQLException
getRef
in interface CallableStatement
SQLException
public Blob getBlob(String a) throws SQLException
getBlob
in interface CallableStatement
SQLException
public Clob getClob(String a) throws SQLException
getClob
in interface CallableStatement
SQLException
public Array getArray(String a) throws SQLException
getArray
in interface CallableStatement
SQLException
public Date getDate(String a, Calendar b) throws SQLException
getDate
in interface CallableStatement
SQLException
public Time getTime(String a, Calendar b) throws SQLException
getTime
in interface CallableStatement
SQLException
public Timestamp getTimestamp(String a, Calendar b) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
public Reader getCharacterStream(int parameterIndex) throws SQLException
getCharacterStream
in interface CallableStatement
SQLException
public Reader getCharacterStream(String parameterName) throws SQLException
getCharacterStream
in interface CallableStatement
SQLException
public Reader getNCharacterStream(int parameterIndex) throws SQLException
getNCharacterStream
in interface CallableStatement
SQLException
public Reader getNCharacterStream(String parameterName) throws SQLException
getNCharacterStream
in interface CallableStatement
SQLException
public NClob getNClob(int parameterIndex) throws SQLException
getNClob
in interface CallableStatement
SQLException
public NClob getNClob(String parameterName) throws SQLException
getNClob
in interface CallableStatement
SQLException
public String getNString(int parameterIndex) throws SQLException
getNString
in interface CallableStatement
SQLException
public String getNString(String parameterName) throws SQLException
getNString
in interface CallableStatement
SQLException
public RowId getRowId(int parameterIndex) throws SQLException
getRowId
in interface CallableStatement
SQLException
public RowId getRowId(String parameterName) throws SQLException
getRowId
in interface CallableStatement
SQLException
public SQLXML getSQLXML(int parameterIndex) throws SQLException
getSQLXML
in interface CallableStatement
SQLException
public SQLXML getSQLXML(String parameterName) throws SQLException
getSQLXML
in interface CallableStatement
SQLException
public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
public void setAsciiStream(String parameterName, InputStream x) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
public void setBinaryStream(String parameterName, InputStream x) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
public void setBlob(String parameterName, Blob x) throws SQLException
setBlob
in interface CallableStatement
SQLException
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException
setBlob
in interface CallableStatement
SQLException
public void setBlob(String parameterName, InputStream inputStream) throws SQLException
setBlob
in interface CallableStatement
SQLException
public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
public void setCharacterStream(String parameterName, Reader reader) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
public void setClob(String parameterName, Clob x) throws SQLException
setClob
in interface CallableStatement
SQLException
public void setClob(String parameterName, Reader reader, long length) throws SQLException
setClob
in interface CallableStatement
SQLException
public void setClob(String parameterName, Reader reader) throws SQLException
setClob
in interface CallableStatement
SQLException
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException
setNCharacterStream
in interface CallableStatement
SQLException
public void setNCharacterStream(String parameterName, Reader value) throws SQLException
setNCharacterStream
in interface CallableStatement
SQLException
public void setNClob(String parameterName, NClob value) throws SQLException
setNClob
in interface CallableStatement
SQLException
public void setNClob(String parameterName, Reader reader, long length) throws SQLException
setNClob
in interface CallableStatement
SQLException
public void setNClob(String parameterName, Reader reader) throws SQLException
setNClob
in interface CallableStatement
SQLException
public void setNString(String parameterName, String value) throws SQLException
setNString
in interface CallableStatement
SQLException
public void setRowId(String parameterName, RowId x) throws SQLException
setRowId
in interface CallableStatement
SQLException
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException
setSQLXML
in interface CallableStatement
SQLException
public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException
setBlob
in interface PreparedStatement
SQLException
public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException
setBlob
in interface PreparedStatement
SQLException
public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
public void setClob(int parameterIndex, Reader reader, long length) throws SQLException
setClob
in interface PreparedStatement
SQLException
public void setClob(int parameterIndex, Reader reader) throws SQLException
setClob
in interface PreparedStatement
SQLException
public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
public void setNClob(int parameterIndex, NClob value) throws SQLException
setNClob
in interface PreparedStatement
SQLException
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException
setNClob
in interface PreparedStatement
SQLException
public void setNClob(int parameterIndex, Reader reader) throws SQLException
setNClob
in interface PreparedStatement
SQLException
public void setNString(int parameterIndex, String value) throws SQLException
setNString
in interface PreparedStatement
SQLException
public void setRowId(int parameterIndex, RowId x) throws SQLException
setRowId
in interface PreparedStatement
SQLException
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
setSQLXML
in interface PreparedStatement
SQLException
public boolean isClosed() throws SQLException
isClosed
in interface Statement
SQLException
public boolean isPoolable() throws SQLException
isPoolable
in interface Statement
SQLException
public void setPoolable(boolean poolable) throws SQLException
setPoolable
in interface Statement
SQLException
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
getObject
in interface CallableStatement
SQLException
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException
getObject
in interface CallableStatement
SQLException
public boolean isCloseOnCompletion() throws SQLException
isCloseOnCompletion
in interface Statement
SQLException
public void closeOnCompletion() throws SQLException
closeOnCompletion
in interface Statement
SQLException
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.