public final class TransactedPreparedStatement extends Object implements PreparedStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addBatch(String arg0) |
void |
cancel() |
void |
clearBatch() |
void |
clearParameters() |
void |
clearWarnings() |
void |
close() |
void |
closeOnCompletion() |
boolean |
execute() |
boolean |
execute(String arg0) |
boolean |
execute(String arg0,
int arg1) |
boolean |
execute(String arg0,
int[] arg1) |
boolean |
execute(String arg0,
String[] arg1) |
int[] |
executeBatch() |
TransactedResultSet |
executeQuery() |
TransactedResultSet |
executeQuery(String sql) |
int |
executeUpdate() |
int |
executeUpdate(String arg0) |
int |
executeUpdate(String arg0,
int arg1) |
int |
executeUpdate(String arg0,
int[] arg1) |
int |
executeUpdate(String arg0,
String[] arg1) |
TransactedConnection |
getConnection() |
int |
getFetchDirection() |
int |
getFetchSize() |
TransactedResultSet |
getGeneratedKeys() |
int |
getMaxFieldSize() |
int |
getMaxRows() |
ResultSetMetaData |
getMetaData() |
boolean |
getMoreResults() |
boolean |
getMoreResults(int arg0) |
ParameterMetaData |
getParameterMetaData() |
int |
getQueryTimeout() |
TransactedResultSet |
getResultSet() |
int |
getResultSetConcurrency() |
int |
getResultSetHoldability() |
int |
getResultSetType() |
int |
getUpdateCount() |
SQLWarning |
getWarnings() |
boolean |
isClosed() |
boolean |
isCloseOnCompletion() |
boolean |
isPoolable() |
boolean |
isWrapperFor(Class<?> arg0) |
void |
setArray(int arg0,
Array arg1) |
void |
setAsciiStream(int arg0,
InputStream arg1) |
void |
setAsciiStream(int arg0,
InputStream arg1,
int arg2) |
void |
setAsciiStream(int arg0,
InputStream arg1,
long arg2) |
void |
setBigDecimal(int arg0,
BigDecimal arg1) |
void |
setBinaryStream(int arg0,
InputStream arg1) |
void |
setBinaryStream(int arg0,
InputStream arg1,
int arg2) |
void |
setBinaryStream(int arg0,
InputStream arg1,
long arg2) |
void |
setBlob(int arg0,
Blob arg1) |
void |
setBlob(int arg0,
InputStream arg1) |
void |
setBlob(int arg0,
InputStream arg1,
long arg2) |
void |
setBoolean(int arg0,
boolean arg1) |
void |
setByte(int arg0,
byte arg1) |
void |
setBytes(int arg0,
byte[] arg1) |
void |
setCharacterStream(int arg0,
Reader arg1) |
void |
setCharacterStream(int arg0,
Reader arg1,
int arg2) |
void |
setCharacterStream(int arg0,
Reader arg1,
long arg2) |
void |
setClob(int arg0,
Clob arg1) |
void |
setClob(int arg0,
Reader arg1) |
void |
setClob(int arg0,
Reader arg1,
long arg2) |
void |
setCursorName(String arg0) |
void |
setDate(int arg0,
Date arg1) |
void |
setDate(int arg0,
Date arg1,
Calendar arg2) |
void |
setDouble(int arg0,
double arg1) |
void |
setEscapeProcessing(boolean arg0) |
void |
setFetchDirection(int arg0) |
void |
setFetchSize(int arg0) |
void |
setFloat(int arg0,
float arg1) |
void |
setInt(int arg0,
int arg1) |
void |
setLong(int arg0,
long arg1) |
void |
setMaxFieldSize(int arg0) |
void |
setMaxRows(int arg0) |
void |
setNCharacterStream(int arg0,
Reader arg1) |
void |
setNCharacterStream(int arg0,
Reader arg1,
long arg2) |
void |
setNClob(int arg0,
NClob arg1) |
void |
setNClob(int arg0,
Reader arg1) |
void |
setNClob(int arg0,
Reader arg1,
long arg2) |
void |
setNString(int arg0,
String arg1) |
void |
setNull(int arg0,
int arg1) |
void |
setNull(int arg0,
int arg1,
String arg2) |
void |
setObject(int arg0,
Object arg1) |
void |
setObject(int arg0,
Object arg1,
int arg2) |
void |
setObject(int arg0,
Object arg1,
int arg2,
int arg3) |
void |
setPoolable(boolean arg0) |
void |
setQueryTimeout(int arg0) |
void |
setRef(int arg0,
Ref arg1) |
void |
setRowId(int arg0,
RowId arg1) |
void |
setShort(int arg0,
short arg1) |
void |
setSQLXML(int arg0,
SQLXML arg1) |
void |
setString(int arg0,
String arg1) |
void |
setTime(int arg0,
Time arg1) |
void |
setTime(int arg0,
Time arg1,
Calendar arg2) |
void |
setTimestamp(int arg0,
Timestamp arg1) |
void |
setTimestamp(int arg0,
Timestamp arg1,
Calendar arg2) |
void |
setUnicodeStream(int arg0,
InputStream arg1,
int arg2)
Deprecated.
|
void |
setURL(int arg0,
URL arg1) |
<T> T |
unwrap(Class<T> arg0) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowspublic void addBatch()
throws SQLException
addBatch in interface PreparedStatementSQLExceptionpublic void addBatch(String arg0) throws SQLException
addBatch in interface StatementSQLExceptionpublic void cancel()
throws SQLException
cancel in interface StatementSQLExceptionpublic void clearBatch()
throws SQLException
clearBatch in interface StatementSQLExceptionpublic void clearParameters()
throws SQLException
clearParameters in interface PreparedStatementSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface StatementSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface StatementSQLExceptionpublic void closeOnCompletion()
throws SQLException
closeOnCompletion in interface StatementSQLExceptionpublic boolean execute()
throws SQLException
execute in interface PreparedStatementSQLExceptionpublic boolean execute(String arg0, int arg1) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String arg0, int[] arg1) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String arg0, String[] arg1) throws SQLException
execute in interface StatementSQLExceptionpublic boolean execute(String arg0) throws SQLException
execute in interface StatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLExceptionpublic TransactedResultSet executeQuery() throws SQLException
executeQuery in interface PreparedStatementSQLExceptionpublic TransactedResultSet executeQuery(String sql) throws SQLException
executeQuery in interface StatementSQLExceptionpublic int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementSQLExceptionpublic int executeUpdate(String arg0, int arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String arg0, int[] arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String arg0, String[] arg1) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic int executeUpdate(String arg0) throws SQLException
executeUpdate in interface StatementSQLExceptionpublic TransactedConnection getConnection() throws SQLException
getConnection in interface StatementSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface StatementSQLExceptionpublic TransactedResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys in interface StatementSQLExceptionpublic int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLExceptionpublic int getMaxRows()
throws SQLException
getMaxRows in interface StatementSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface PreparedStatementSQLExceptionpublic boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementSQLExceptionpublic boolean getMoreResults(int arg0)
throws SQLException
getMoreResults in interface StatementSQLExceptionpublic ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData in interface PreparedStatementSQLExceptionpublic int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementSQLExceptionpublic TransactedResultSet getResultSet() throws SQLException
getResultSet in interface StatementSQLExceptionpublic int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementSQLExceptionpublic int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLExceptionpublic int getResultSetType()
throws SQLException
getResultSetType in interface StatementSQLExceptionpublic int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface StatementSQLExceptionpublic boolean isCloseOnCompletion()
throws SQLException
isCloseOnCompletion in interface StatementSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface StatementSQLExceptionpublic boolean isPoolable()
throws SQLException
isPoolable in interface StatementSQLExceptionpublic boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic void setArray(int arg0,
Array arg1)
throws SQLException
setArray in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int arg0,
InputStream arg1,
int arg2)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int arg0,
InputStream arg1,
long arg2)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int arg0,
InputStream arg1)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setBigDecimal(int arg0,
BigDecimal arg1)
throws SQLException
setBigDecimal in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int arg0,
InputStream arg1,
int arg2)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int arg0,
InputStream arg1,
long arg2)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int arg0,
InputStream arg1)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBlob(int arg0,
Blob arg1)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBlob(int arg0,
InputStream arg1,
long arg2)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBlob(int arg0,
InputStream arg1)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBoolean(int arg0,
boolean arg1)
throws SQLException
setBoolean in interface PreparedStatementSQLExceptionpublic void setByte(int arg0,
byte arg1)
throws SQLException
setByte in interface PreparedStatementSQLExceptionpublic void setBytes(int arg0,
byte[] arg1)
throws SQLException
setBytes in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int arg0,
Reader arg1,
int arg2)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int arg0,
Reader arg1,
long arg2)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int arg0,
Reader arg1)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setClob(int arg0,
Clob arg1)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setClob(int arg0,
Reader arg1,
long arg2)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setClob(int arg0,
Reader arg1)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setCursorName(String arg0) throws SQLException
setCursorName in interface StatementSQLExceptionpublic void setDate(int arg0,
Date arg1,
Calendar arg2)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setDate(int arg0,
Date arg1)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setDouble(int arg0,
double arg1)
throws SQLException
setDouble in interface PreparedStatementSQLExceptionpublic void setEscapeProcessing(boolean arg0)
throws SQLException
setEscapeProcessing in interface StatementSQLExceptionpublic void setFetchDirection(int arg0)
throws SQLException
setFetchDirection in interface StatementSQLExceptionpublic void setFetchSize(int arg0)
throws SQLException
setFetchSize in interface StatementSQLExceptionpublic void setFloat(int arg0,
float arg1)
throws SQLException
setFloat in interface PreparedStatementSQLExceptionpublic void setInt(int arg0,
int arg1)
throws SQLException
setInt in interface PreparedStatementSQLExceptionpublic void setLong(int arg0,
long arg1)
throws SQLException
setLong in interface PreparedStatementSQLExceptionpublic void setMaxFieldSize(int arg0)
throws SQLException
setMaxFieldSize in interface StatementSQLExceptionpublic void setMaxRows(int arg0)
throws SQLException
setMaxRows in interface StatementSQLExceptionpublic void setNCharacterStream(int arg0,
Reader arg1,
long arg2)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setNCharacterStream(int arg0,
Reader arg1)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setNClob(int arg0,
NClob arg1)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNClob(int arg0,
Reader arg1,
long arg2)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNClob(int arg0,
Reader arg1)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNString(int arg0,
String arg1)
throws SQLException
setNString in interface PreparedStatementSQLExceptionpublic void setNull(int arg0,
int arg1,
String arg2)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setNull(int arg0,
int arg1)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setObject(int arg0,
Object arg1,
int arg2,
int arg3)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setObject(int arg0,
Object arg1,
int arg2)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setObject(int arg0,
Object arg1)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setPoolable(boolean arg0)
throws SQLException
setPoolable in interface StatementSQLExceptionpublic void setQueryTimeout(int arg0)
throws SQLException
setQueryTimeout in interface StatementSQLExceptionpublic void setRef(int arg0,
Ref arg1)
throws SQLException
setRef in interface PreparedStatementSQLExceptionpublic void setRowId(int arg0,
RowId arg1)
throws SQLException
setRowId in interface PreparedStatementSQLExceptionpublic void setSQLXML(int arg0,
SQLXML arg1)
throws SQLException
setSQLXML in interface PreparedStatementSQLExceptionpublic void setShort(int arg0,
short arg1)
throws SQLException
setShort in interface PreparedStatementSQLExceptionpublic void setString(int arg0,
String arg1)
throws SQLException
setString in interface PreparedStatementSQLExceptionpublic void setTime(int arg0,
Time arg1,
Calendar arg2)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTime(int arg0,
Time arg1)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTimestamp(int arg0,
Timestamp arg1,
Calendar arg2)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setTimestamp(int arg0,
Timestamp arg1)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setURL(int arg0,
URL arg1)
throws SQLException
setURL in interface PreparedStatementSQLException@Deprecated public void setUnicodeStream(int arg0, InputStream arg1, int arg2) throws SQLException
setUnicodeStream in interface PreparedStatementSQLExceptionpublic <T> T unwrap(Class<T> arg0) throws SQLException
unwrap in interface WrapperSQLExceptionCopyright © 2016–2017. All rights reserved.