|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbr.ufg.integrate.jdbc.ConnectionImpl
public class ConnectionImpl
| Field Summary | |
|---|---|
protected Connection |
dbCon
DOCUMENT ME! |
protected String |
PASSWORD
|
protected String |
SCHEMA
|
protected String |
URL
|
protected String |
USER
|
| Fields inherited from interface java.sql.Connection |
|---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
| Fields inherited from interface br.ufg.integrate.util.Constants |
|---|
DB_MAJOR_VERSION, DB_MINOR_VERSION, DRIVER_CLASS, DRIVER_MAJOR_VERSION, DRIVER_MINOR_VERSION, DRIVER_NAME, DRIVER_RELEASE, INTEGRATE_CONFIG_FILE, JDBC_COMPLIANT, JDBC_MAJOR_VERSION, JDBC_MINOR_VERSION, PRODUCT_NAME, PRODUCT_RELEASE, URL_PREFIX |
| Constructor Summary | |
|---|---|
ConnectionImpl(Connection c,
String url,
String schema,
Integration i)
|
|
| Method Summary | |
|---|---|
void |
clearWarnings()
Implements method in interface java.sql.Connection |
void |
close()
Implements method in interface java.sql.Connection |
void |
commit()
Implements method in interface java.sql.Connection |
Array |
createArrayOf(String typeName,
Object[] elements)
Implements method in interface java.sql.Connection |
Blob |
createBlob()
Implements method in interface java.sql.Connection |
Clob |
createClob()
Implements method in interface java.sql.Connection |
NClob |
createNClob()
Implements method in interface java.sql.Connection |
SQLXML |
createSQLXML()
Implements method in interface java.sql.Connection |
Statement |
createStatement()
Implements method in interface java.sql.Connection |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
Implements method in interface java.sql.Connection |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Implements method in interface java.sql.Connection |
Struct |
createStruct(String typeName,
Object[] attributes)
Implements method in interface java.sql.Connection |
boolean |
getAutoCommit()
Implements method in interface java.sql.Connection |
String |
getCatalog()
Implements method in interface java.sql.Connection |
Properties |
getClientInfo()
Implements method in interface java.sql.Connection |
String |
getClientInfo(String name)
Implements method in interface java.sql.Connection |
Connection |
getConnection()
Retorna a esta conexão. |
int |
getHoldability()
Implements method in interface java.sql.Connection |
DatabaseMetaData |
getMetaData()
Implements method in interface java.sql.Connection |
int |
getTransactionIsolation()
Implements method in interface java.sql.Connection |
Map |
getTypeMap()
Implements method in interface java.sql.Connection |
SQLWarning |
getWarnings()
Implements method in interface java.sql.Connection |
boolean |
isClosed()
Implements method in interface java.sql.Connection |
boolean |
isReadOnly()
Implements method in interface java.sql.Connection |
boolean |
isValid(int timeout)
Implements method in interface java.sql.Connection |
boolean |
isWrapperFor(Class iface)
Implements method in interface java.sql.Connection |
String |
nativeSQL(String sql)
Implements method in interface java.sql.Connection |
CallableStatement |
prepareCall(String sql)
Implements method in interface java.sql.Connection |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
Implements method in interface java.sql.Connection |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Implements method in interface java.sql.Connection |
PreparedStatement |
prepareStatement(String sql)
Implements method in interface java.sql.Connection |
PreparedStatement |
prepareStatement(String sql,
int autoGeneratedKeys)
Implements method in interface java.sql.Connection |
PreparedStatement |
prepareStatement(String sql,
int[] columnIndexes)
Implements method in interface java.sql.Connection |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
Implements method in interface java.sql.Connection |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Implements method in interface java.sql.Connection |
PreparedStatement |
prepareStatement(String sql,
String[] columnNames)
Implements method in interface java.sql.Connection |
void |
releaseSavepoint(Savepoint savepoint)
Implements method in interface java.sql.Connection |
void |
rollback()
Implements method in interface java.sql.Connection |
void |
rollback(Savepoint savepoint)
Implements method in interface java.sql.Connection |
void |
setAutoCommit(boolean autoCommit)
Implements method in interface java.sql.Connection |
void |
setCatalog(String catalog)
Implements method in interface java.sql.Connection |
void |
setClientInfo(Properties properties)
Implements method in interface java.sql.Connection |
void |
setClientInfo(String properties,
String value)
Implements method in interface java.sql.Connection |
void |
setHoldability(int holdability)
Implements method in interface java.sql.Connection |
void |
setReadOnly(boolean readOnly)
Implements method in interface java.sql.Connection |
Savepoint |
setSavepoint()
Implements method in interface java.sql.Connection |
Savepoint |
setSavepoint(String name)
Implements method in interface java.sql.Connection |
void |
setTransactionIsolation(int level)
Implements method in interface java.sql.Connection |
void |
setTypeMap(Map map)
Implements method in interface java.sql.Connection |
Object |
unwrap(Class iface)
Implements method in interface java.sql.Connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Connection dbCon
protected String PASSWORD
protected String SCHEMA
protected String URL
protected String USER
| Constructor Detail |
|---|
public ConnectionImpl(Connection c,
String url,
String schema,
Integration i)
throws SQLException
SQLException| Method Detail |
|---|
public void clearWarnings()
throws SQLException
clearWarnings in interface ConnectionSQLExceptionConnection.clearWarnings()
public void close()
throws SQLException
close in interface ConnectionSQLExceptionConnection.close()
public void commit()
throws SQLException
commit in interface ConnectionSQLExceptionConnection.commit()
public Array createArrayOf(String typeName,
Object[] elements)
throws SQLException
createArrayOf in interface ConnectionSQLExceptionConnection.createArrayOf(java.lang.String, java.lang.Object[])
public Blob createBlob()
throws SQLException
createBlob in interface ConnectionSQLExceptionConnection.createBlob()
public Clob createClob()
throws SQLException
createClob in interface ConnectionSQLExceptionConnection.createClob()
public NClob createNClob()
throws SQLException
createNClob in interface ConnectionSQLExceptionConnection.createNClob()
public SQLXML createSQLXML()
throws SQLException
createSQLXML in interface ConnectionSQLExceptionConnection.createSQLXML()
public Statement createStatement()
throws SQLException
createStatement in interface ConnectionSQLExceptionConnection.createStatement()
public Statement createStatement(int resultSetType,
int resultSetConcurrency)
throws SQLException
createStatement in interface ConnectionSQLExceptionConnection.createStatement()
public Statement createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
createStatement in interface ConnectionSQLExceptionConnection.createStatement()
public Struct createStruct(String typeName,
Object[] attributes)
throws SQLException
createStruct in interface ConnectionSQLExceptionConnection.createStruct(java.lang.String, java.lang.Object[])
public boolean getAutoCommit()
throws SQLException
getAutoCommit in interface ConnectionSQLExceptionConnection.getAutoCommit()
public String getCatalog()
throws SQLException
getCatalog in interface ConnectionSQLExceptionConnection.getCatalog()
public Properties getClientInfo()
throws SQLException
getClientInfo in interface ConnectionSQLExceptionConnection.getClientInfo(java.lang.String)
public String getClientInfo(String name)
throws SQLException
getClientInfo in interface ConnectionSQLExceptionConnection.getClientInfo(java.lang.String)public Connection getConnection()
public int getHoldability()
throws SQLException
getHoldability in interface ConnectionSQLExceptionConnection.getHoldability()
public DatabaseMetaData getMetaData()
throws SQLException
getMetaData in interface ConnectionSQLExceptionConnection.getMetaData()
public int getTransactionIsolation()
throws SQLException
getTransactionIsolation in interface ConnectionSQLExceptionConnection.getTransactionIsolation()
public Map getTypeMap()
throws SQLException
getTypeMap in interface ConnectionSQLExceptionConnection.getTypeMap()
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface ConnectionSQLExceptionConnection.getWarnings()
public boolean isClosed()
throws SQLException
isClosed in interface ConnectionSQLExceptionConnection.isClosed()
public boolean isReadOnly()
throws SQLException
isReadOnly in interface ConnectionSQLExceptionConnection.isReadOnly()
public boolean isValid(int timeout)
throws SQLException
isValid in interface ConnectionSQLExceptionConnection.isValid(int)
public boolean isWrapperFor(Class iface)
throws SQLException
isWrapperFor in interface WrapperSQLExceptionWrapper.isWrapperFor(java.lang.Class>)
public String nativeSQL(String sql)
throws SQLException
nativeSQL in interface ConnectionSQLExceptionConnection.nativeSQL(java.lang.String)
public CallableStatement prepareCall(String sql)
throws SQLException
prepareCall in interface ConnectionSQLExceptionConnection.prepareCall(java.lang.String)
public CallableStatement prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
throws SQLException
prepareCall in interface ConnectionSQLExceptionConnection.prepareCall(java.lang.String)
public CallableStatement prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
prepareCall in interface ConnectionSQLExceptionConnection.prepareCall(java.lang.String)
public PreparedStatement prepareStatement(String sql)
throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)
public PreparedStatement prepareStatement(String sql,
int autoGeneratedKeys)
throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)
public PreparedStatement prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)
public PreparedStatement prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)
public PreparedStatement prepareStatement(String sql,
int[] columnIndexes)
throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)
public PreparedStatement prepareStatement(String sql,
String[] columnNames)
throws SQLException
prepareStatement in interface ConnectionSQLExceptionConnection.prepareStatement(java.lang.String)
public void releaseSavepoint(Savepoint savepoint)
throws SQLException
releaseSavepoint in interface ConnectionSQLExceptionConnection.releaseSavepoint(java.sql.Savepoint)
public void rollback()
throws SQLException
rollback in interface ConnectionSQLExceptionConnection.rollback()
public void rollback(Savepoint savepoint)
throws SQLException
rollback in interface ConnectionSQLExceptionConnection.rollback()
public void setAutoCommit(boolean autoCommit)
throws SQLException
setAutoCommit in interface ConnectionSQLExceptionConnection.rollback()
public void setCatalog(String catalog)
throws SQLException
setCatalog in interface ConnectionSQLExceptionConnection.setCatalog(java.lang.String)
public void setHoldability(int holdability)
throws SQLException
setHoldability in interface ConnectionSQLExceptionConnection.setHoldability(int)
public void setReadOnly(boolean readOnly)
throws SQLException
setReadOnly in interface ConnectionSQLExceptionConnection.setReadOnly(boolean)
public Savepoint setSavepoint()
throws SQLException
setSavepoint in interface ConnectionSQLExceptionConnection.setSavepoint()
public Savepoint setSavepoint(String name)
throws SQLException
setSavepoint in interface ConnectionSQLExceptionConnection.setSavepoint()
public void setTransactionIsolation(int level)
throws SQLException
setTransactionIsolation in interface ConnectionSQLExceptionConnection.setTransactionIsolation(int)
public void setTypeMap(Map map)
throws SQLException
setTypeMap in interface ConnectionSQLExceptionConnection.setTypeMap(java.util.Map>)
public void setClientInfo(Properties properties)
throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptionConnection.setClientInfo(java.lang.String, java.lang.String)
public void setClientInfo(String properties,
String value)
throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptionConnection.setClientInfo(java.lang.String, java.lang.String)
public Object unwrap(Class iface)
throws SQLException
unwrap in interface WrapperSQLExceptionWrapper.unwrap(java.lang.Class)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||