public class P6Statement extends P6Base implements Statement
Modifier and Type | Field and Description |
---|---|
protected P6Connection |
connection |
protected Statement |
passthru |
protected String |
statementQuery |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
P6Statement(P6Factory factory,
Statement statement,
P6Connection conn) |
getP6Factory, setP6Factory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRows
protected Statement passthru
protected P6Connection connection
protected String statementQuery
public P6Statement(P6Factory factory, Statement statement, P6Connection conn)
public void close() throws SQLException
close
in interface AutoCloseable
close
in interface Statement
SQLException
public boolean execute(String p0) throws SQLException
execute
in interface Statement
SQLException
public ResultSet executeQuery(String p0) throws SQLException
executeQuery
in interface Statement
SQLException
public int executeUpdate(String p0) throws SQLException
executeUpdate
in interface Statement
SQLException
public int getMaxFieldSize() throws SQLException
getMaxFieldSize
in interface Statement
SQLException
public void setMaxFieldSize(int p0) throws SQLException
setMaxFieldSize
in interface Statement
SQLException
public int getMaxRows() throws SQLException
getMaxRows
in interface Statement
SQLException
public void setMaxRows(int p0) throws SQLException
setMaxRows
in interface Statement
SQLException
public void setEscapeProcessing(boolean p0) throws SQLException
setEscapeProcessing
in interface Statement
SQLException
public int getQueryTimeout() throws SQLException
getQueryTimeout
in interface Statement
SQLException
public void setQueryTimeout(int p0) 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 p0) throws SQLException
setCursorName
in interface Statement
SQLException
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Statement
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 p0) throws SQLException
setFetchDirection
in interface Statement
SQLException
public int getFetchDirection() throws SQLException
getFetchDirection
in interface Statement
SQLException
public void setFetchSize(int p0) 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 p0) 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 boolean getMoreResults(int p0) throws SQLException
getMoreResults
in interface Statement
SQLException
public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys
in interface Statement
SQLException
public int executeUpdate(String p0, int p1) throws SQLException
executeUpdate
in interface Statement
SQLException
public int executeUpdate(String p0, int[] p1) throws SQLException
executeUpdate
in interface Statement
SQLException
public int executeUpdate(String p0, String[] p1) throws SQLException
executeUpdate
in interface Statement
SQLException
public boolean execute(String p0, int p1) throws SQLException
execute
in interface Statement
SQLException
public boolean execute(String p0, int[] p1) throws SQLException
execute
in interface Statement
SQLException
public boolean execute(String p0, String[] p1) throws SQLException
execute
in interface Statement
SQLException
public int getResultSetHoldability() throws SQLException
getResultSetHoldability
in interface Statement
SQLException
public Statement getJDBC()
public boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> arg0) throws SQLException
unwrap
in interface Wrapper
SQLException
public void closeOnCompletion() throws SQLException
closeOnCompletion
in interface Statement
SQLException
public boolean isCloseOnCompletion() throws SQLException
isCloseOnCompletion
in interface Statement
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 arg0) throws SQLException
setPoolable
in interface Statement
SQLException