|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 Statement
addBatch
in class IntegrateStatement
SQLException
Statement.addBatch(java.lang.String)
public void cancel() throws SQLException
cancel
in interface Statement
cancel
in class IntegrateStatement
SQLException
Statement.cancel()
public void clearBatch() throws SQLException
clearBatch
in interface Statement
clearBatch
in class IntegrateStatement
SQLException
Statement.clearBatch()
public void clearWarnings() throws SQLException
clearWarnings
in interface Statement
clearWarnings
in class IntegrateStatement
SQLException
Statement.clearWarnings()
public void close() throws SQLException
close
in interface Statement
close
in class IntegrateStatement
SQLException
- if a database access error occursStatement.close()
public boolean execute(String sql) throws SQLException
execute
in interface Statement
execute
in class IntegrateStatement
SQLException
Statement.execute(java.lang.String)
public boolean execute(String sql, String[] columnNames) throws SQLException
execute
in interface Statement
execute
in class IntegrateStatement
SQLException
Statement.execute(java.lang.String)
public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute
in interface Statement
execute
in class IntegrateStatement
SQLException
Statement.execute(java.lang.String)
public boolean execute(String sql, int[] columnIndexes) throws SQLException
execute
in interface Statement
execute
in class IntegrateStatement
SQLException
Statement.execute(java.lang.String)
public int[] executeBatch() throws SQLException
executeBatch
in interface Statement
executeBatch
in class IntegrateStatement
SQLException
Statement.executeBatch()
public ResultSet executeQuery(String sql) throws SQLException
executeQuery
in interface Statement
executeQuery
in class IntegrateStatement
SQLException
Statement.executeQuery(java.lang.String)
public int executeUpdate(String sql) throws SQLException
executeUpdate
in interface Statement
executeUpdate
in class IntegrateStatement
SQLException
Statement.executeUpdate(java.lang.String)
public int executeUpdate(String sql, String[] columnNames) throws SQLException
executeUpdate
in interface Statement
executeUpdate
in class IntegrateStatement
SQLException
Statement.executeUpdate(java.lang.String)
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate
in interface Statement
executeUpdate
in class IntegrateStatement
SQLException
Statement.executeUpdate(java.lang.String)
public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate
in interface Statement
executeUpdate
in class IntegrateStatement
SQLException
Statement.executeUpdate(java.lang.String)
public Connection getConnection() throws SQLException
getConnection
in interface Statement
getConnection
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getConnection()
public int getFetchDirection() throws SQLException
getFetchDirection
in interface Statement
getFetchDirection
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getFetchDirection()
public int getFetchSize() throws SQLException
getFetchSize
in interface Statement
getFetchSize
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getFetchSize()
public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys
in interface Statement
getGeneratedKeys
in class IntegrateStatement
SQLException
Statement.getGeneratedKeys()
public int getMaxFieldSize() throws SQLException
getMaxFieldSize
in interface Statement
getMaxFieldSize
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getMaxFieldSize()
public int getMaxRows() throws SQLException
getMaxRows
in interface Statement
getMaxRows
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getMaxRows()
public boolean getMoreResults() throws SQLException
getMoreResults
in interface Statement
getMoreResults
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getMoreResults()
public boolean getMoreResults(int current) throws SQLException
getMoreResults
in interface Statement
getMoreResults
in class IntegrateStatement
SQLException
Statement.getMoreResults()
public int getQueryTimeout() throws SQLException
getQueryTimeout
in interface Statement
getQueryTimeout
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getQueryTimeout()
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Statement
getResultSet
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getResultSet()
public int getResultSetConcurrency() throws SQLException
getResultSetConcurrency
in interface Statement
getResultSetConcurrency
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getResultSetConcurrency()
public int getResultSetHoldability() throws SQLException
getResultSetHoldability
in interface Statement
getResultSetHoldability
in class IntegrateStatement
SQLException
Statement.getResultSetHoldability()
public int getResultSetType() throws SQLException
getResultSetType
in interface Statement
getResultSetType
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getResultSetType()
public int getUpdateCount() throws SQLException
getUpdateCount
in interface Statement
getUpdateCount
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getUpdateCount()
public SQLWarning getWarnings() throws SQLException
getWarnings
in interface Statement
getWarnings
in class IntegrateStatement
SQLException
- Description of ExceptionStatement.getWarnings()
public boolean isClosed() throws SQLException
isClosed
in interface Statement
isClosed
in class IntegrateStatement
SQLException
Statement.isClosed()
public boolean isPoolable() throws SQLException
isPoolable
in interface Statement
isPoolable
in class IntegrateStatement
SQLException
Statement.isPoolable()
public boolean isWrapperFor(Class arg0) throws SQLException
isWrapperFor
in interface Wrapper
isWrapperFor
in class IntegrateStatement
SQLException
Wrapper.isWrapperFor(java.lang.Class)
public void setCursorName(String name) throws SQLException
setCursorName
in interface Statement
setCursorName
in class IntegrateStatement
name
- The new cursorName value
SQLException
- Description of ExceptionStatement.setCursorName(java.lang.String)
public void setEscapeProcessing(boolean enable) throws SQLException
setEscapeProcessing
in interface Statement
setEscapeProcessing
in class IntegrateStatement
enable
- The new escapeProcessing value
SQLException
- Description of ExceptionStatement.setEscapeProcessing(boolean)
public void setFetchDirection(int direction) throws SQLException
setFetchDirection
in interface Statement
setFetchDirection
in class IntegrateStatement
direction
- The new fetchDirection value
SQLException
- Description of ExceptionStatement.setFetchDirection(int)
public void setFetchSize(int rows) throws SQLException
setFetchSize
in interface Statement
setFetchSize
in class IntegrateStatement
rows
- The new fetchSize value
SQLException
- Description of ExceptionStatement.setFetchSize(int)
public void setMaxFieldSize(int max) throws SQLException
setMaxFieldSize
in interface Statement
setMaxFieldSize
in class IntegrateStatement
max
- The new maxFieldSize value
SQLException
- Description of ExceptionStatement.setMaxFieldSize(int)
public void setMaxRows(int max) throws SQLException
setMaxRows
in interface Statement
setMaxRows
in class IntegrateStatement
max
- The new maxRows value
SQLException
- Description of ExceptionStatement.setMaxRows(int)
public void setQueryTimeout(int seconds) throws SQLException
setQueryTimeout
in interface Statement
setQueryTimeout
in class IntegrateStatement
seconds
- The new queryTimeout value
SQLException
- Description of ExceptionStatement.setQueryTimeout(int)
public void setPoolable(boolean arg0) throws SQLException
setPoolable
in interface Statement
setPoolable
in class IntegrateStatement
SQLException
Statement.isPoolable()
public <T> T unwrap(Class<T> arg0) throws SQLException
unwrap
in interface Wrapper
unwrap
in class IntegrateStatement
SQLException
Wrapper.unwrap(java.lang.Class)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |