|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbr.ufg.integrate.wrapper.jdbc.IntegrateStatement
br.ufg.integrate.wrapper.jdbc.impl.StatementImpl
public class StatementImpl
| Field Summary | |
|---|---|
protected Connection |
conn
|
| 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 | |
|---|---|
StatementImpl(Connection con)
|
|
StatementImpl(Connection con,
Statement stmt)
Create a new StatementImpl object. |
|
| Method Summary | ||
|---|---|---|
void |
addBatch(String sql)
Implements method in interface java.sql.Statement |
|
void |
cancel()
Implements method in interface java.sql.Statement |
|
void |
clearBatch()
Implements method in interface java.sql.Statement |
|
void |
clearWarnings()
Implements method in interface java.sql.Statement |
|
void |
close()
Implements method in interface java.sql.Statement |
|
boolean |
execute(String sql)
Implements method in interface java.sql.Statement |
|
boolean |
execute(String sql,
int autoGeneratedKeys)
Implements method in interface java.sql.Statement |
|
boolean |
execute(String sql,
int[] columnIndexes)
Implements method in interface java.sql.Statement |
|
boolean |
execute(String sql,
String[] columnNames)
Implements method in interface java.sql.Statement |
|
int[] |
executeBatch()
Implements method in interface java.sql.Statement |
|
ResultSet |
executeQuery(String sql)
Implements method in interface java.sql.Statement |
|
int |
executeUpdate(String sql)
Implements method in interface java.sql.Statement |
|
int |
executeUpdate(String sql,
int autoGeneratedKeys)
Implements method in interface java.sql.Statement |
|
int |
executeUpdate(String sql,
int[] columnIndexes)
Implements method in interface java.sql.Statement |
|
int |
executeUpdate(String sql,
String[] columnNames)
Implements method in interface java.sql.Statement |
|
Connection |
getConnection()
Implements method in interface java.sql.Statement |
|
int |
getFetchDirection()
Implements method in interface java.sql.Statement |
|
int |
getFetchSize()
Implements method in interface java.sql.Statement |
|
ResultSet |
getGeneratedKeys()
Implements method in interface java.sql.Statement |
|
int |
getMaxFieldSize()
Implements method in interface java.sql.Statement |
|
int |
getMaxRows()
Implements method in interface java.sql.Statement |
|
boolean |
getMoreResults()
Implements method in interface java.sql.Statement |
|
boolean |
getMoreResults(int current)
Implements method in interface java.sql.Statement |
|
int |
getQueryTimeout()
Implements method in interface java.sql.Statement |
|
ResultSet |
getResultSet()
Implements method in interface java.sql.Statement |
|
int |
getResultSetConcurrency()
Implements method in interface java.sql.Statement |
|
int |
getResultSetHoldability()
Implements method in interface java.sql.Statement |
|
int |
getResultSetType()
Implements method in interface java.sql.Statement |
|
int |
getUpdateCount()
Implements method in interface java.sql.Statement |
|
SQLWarning |
getWarnings()
Implements method in interface java.sql.Statement |
|
boolean |
isClosed()
|
|
boolean |
isPoolable()
|
|
boolean |
isWrapperFor(Class arg0)
|
|
void |
setCursorName(String name)
Implements method in interface java.sql.Statement |
|
void |
setEscapeProcessing(boolean enable)
Implements method in interface java.sql.Statement |
|
void |
setFetchDirection(int direction)
Implements method in interface java.sql.Statement |
|
void |
setFetchSize(int rows)
Implements method in interface java.sql.Statement |
|
void |
setMaxFieldSize(int max)
Implements method in interface java.sql.Statement |
|
void |
setMaxRows(int max)
Implements method in interface java.sql.Statement |
|
void |
setPoolable(boolean arg0)
|
|
void |
setQueryTimeout(int seconds)
Implements method in interface java.sql.Statement |
|
|
unwrap(Class<T> arg0)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Connection conn
| Constructor Detail |
|---|
public StatementImpl(Connection con)
throws SQLException
SQLException
public StatementImpl(Connection con,
Statement stmt)
throws SQLException
SQLException| Method Detail |
|---|
public void addBatch(String sql)
throws SQLException
addBatch in interface StatementaddBatch in class IntegrateStatementSQLExceptionStatement.addBatch(java.lang.String)
public void cancel()
throws SQLException
cancel in interface Statementcancel in class IntegrateStatementSQLExceptionStatement.cancel()
public void clearBatch()
throws SQLException
clearBatch in interface StatementclearBatch in class IntegrateStatementSQLExceptionStatement.clearBatch()
public void clearWarnings()
throws SQLException
clearWarnings in interface StatementclearWarnings in class IntegrateStatementSQLExceptionStatement.clearWarnings()
public void close()
throws SQLException
close in interface Statementclose in class IntegrateStatementSQLException - if a database access error occursStatement.close()
public boolean execute(String sql)
throws SQLException
execute in interface Statementexecute in class IntegrateStatementSQLExceptionStatement.execute(java.lang.String)
public boolean execute(String sql,
String[] columnNames)
throws SQLException
execute in interface Statementexecute in class IntegrateStatementSQLExceptionStatement.execute(java.lang.String)
public boolean execute(String sql,
int autoGeneratedKeys)
throws SQLException
execute in interface Statementexecute in class IntegrateStatementSQLExceptionStatement.execute(java.lang.String)
public boolean execute(String sql,
int[] columnIndexes)
throws SQLException
execute in interface Statementexecute in class IntegrateStatementSQLExceptionStatement.execute(java.lang.String)
public int[] executeBatch()
throws SQLException
executeBatch in interface StatementexecuteBatch in class IntegrateStatementSQLExceptionStatement.executeBatch()
public ResultSet executeQuery(String sql)
throws SQLException
executeQuery in interface StatementexecuteQuery in class IntegrateStatementSQLExceptionStatement.executeQuery(java.lang.String)
public int executeUpdate(String sql)
throws SQLException
executeUpdate in interface StatementexecuteUpdate in class IntegrateStatementSQLExceptionStatement.executeUpdate(java.lang.String)
public int executeUpdate(String sql,
String[] columnNames)
throws SQLException
executeUpdate in interface StatementexecuteUpdate in class IntegrateStatementSQLExceptionStatement.executeUpdate(java.lang.String)
public int executeUpdate(String sql,
int autoGeneratedKeys)
throws SQLException
executeUpdate in interface StatementexecuteUpdate in class IntegrateStatementSQLExceptionStatement.executeUpdate(java.lang.String)
public int executeUpdate(String sql,
int[] columnIndexes)
throws SQLException
executeUpdate in interface StatementexecuteUpdate in class IntegrateStatementSQLExceptionStatement.executeUpdate(java.lang.String)
public Connection getConnection()
throws SQLException
getConnection in interface StatementgetConnection in class IntegrateStatementSQLException - Description of ExceptionStatement.getConnection()
public int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementgetFetchDirection in class IntegrateStatementSQLException - Description of ExceptionStatement.getFetchDirection()
public int getFetchSize()
throws SQLException
getFetchSize in interface StatementgetFetchSize in class IntegrateStatementSQLException - Description of ExceptionStatement.getFetchSize()
public ResultSet getGeneratedKeys()
throws SQLException
getGeneratedKeys in interface StatementgetGeneratedKeys in class IntegrateStatementSQLExceptionStatement.getGeneratedKeys()
public int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementgetMaxFieldSize in class IntegrateStatementSQLException - Description of ExceptionStatement.getMaxFieldSize()
public int getMaxRows()
throws SQLException
getMaxRows in interface StatementgetMaxRows in class IntegrateStatementSQLException - Description of ExceptionStatement.getMaxRows()
public boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementgetMoreResults in class IntegrateStatementSQLException - Description of ExceptionStatement.getMoreResults()
public boolean getMoreResults(int current)
throws SQLException
getMoreResults in interface StatementgetMoreResults in class IntegrateStatementSQLExceptionStatement.getMoreResults()
public int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementgetQueryTimeout in class IntegrateStatementSQLException - Description of ExceptionStatement.getQueryTimeout()
public ResultSet getResultSet()
throws SQLException
getResultSet in interface StatementgetResultSet in class IntegrateStatementSQLException - Description of ExceptionStatement.getResultSet()
public int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementgetResultSetConcurrency in class IntegrateStatementSQLException - Description of ExceptionStatement.getResultSetConcurrency()
public int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementgetResultSetHoldability in class IntegrateStatementSQLExceptionStatement.getResultSetHoldability()
public int getResultSetType()
throws SQLException
getResultSetType in interface StatementgetResultSetType in class IntegrateStatementSQLException - Description of ExceptionStatement.getResultSetType()
public int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementgetUpdateCount in class IntegrateStatementSQLException - Description of ExceptionStatement.getUpdateCount()
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface StatementgetWarnings in class IntegrateStatementSQLException - Description of ExceptionStatement.getWarnings()
public boolean isClosed()
throws SQLException
isClosed in interface StatementisClosed in class IntegrateStatementSQLExceptionStatement.isClosed()
public boolean isPoolable()
throws SQLException
isPoolable in interface StatementisPoolable in class IntegrateStatementSQLExceptionStatement.isPoolable()
public boolean isWrapperFor(Class arg0)
throws SQLException
isWrapperFor in interface WrapperisWrapperFor in class IntegrateStatementSQLExceptionWrapper.isWrapperFor(java.lang.Class>)
public void setCursorName(String name)
throws SQLException
setCursorName in interface StatementsetCursorName in class IntegrateStatementname - The new cursorName value
SQLException - Description of ExceptionStatement.setCursorName(java.lang.String)
public void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementsetEscapeProcessing in class IntegrateStatementenable - The new escapeProcessing value
SQLException - Description of ExceptionStatement.setEscapeProcessing(boolean)
public void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface StatementsetFetchDirection in class IntegrateStatementdirection - The new fetchDirection value
SQLException - Description of ExceptionStatement.setFetchDirection(int)
public void setFetchSize(int rows)
throws SQLException
setFetchSize in interface StatementsetFetchSize in class IntegrateStatementrows - The new fetchSize value
SQLException - Description of ExceptionStatement.setFetchSize(int)
public void setMaxFieldSize(int max)
throws SQLException
setMaxFieldSize in interface StatementsetMaxFieldSize in class IntegrateStatementmax - The new maxFieldSize value
SQLException - Description of ExceptionStatement.setMaxFieldSize(int)
public void setMaxRows(int max)
throws SQLException
setMaxRows in interface StatementsetMaxRows in class IntegrateStatementmax - The new maxRows value
SQLException - Description of ExceptionStatement.setMaxRows(int)
public void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout in interface StatementsetQueryTimeout in class IntegrateStatementseconds - The new queryTimeout value
SQLException - Description of ExceptionStatement.setQueryTimeout(int)
public void setPoolable(boolean arg0)
throws SQLException
setPoolable in interface StatementsetPoolable in class IntegrateStatementSQLExceptionStatement.isPoolable()
public <T> T unwrap(Class<T> arg0)
throws SQLException
unwrap in interface Wrapperunwrap in class IntegrateStatementSQLExceptionWrapper.unwrap(java.lang.Class)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||