|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.conprovider.SingleConnectionWrapper
public class SingleConnectionWrapper
DOCUMENT ME!
Field Summary |
---|
Fields inherited from interface java.sql.Connection |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Constructor Summary | |
---|---|
SingleConnectionWrapper(Connection con)
Creates a new SingleConnectionWrapper object. |
Method Summary | |
---|---|
void |
clearWarnings()
DOCUMENT ME! |
void |
close()
Close only statements of this connection! |
void |
closeReally()
DOCUMENT ME! |
void |
commit()
DOCUMENT ME! |
Statement |
createStatement()
DOCUMENT ME! |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
DOCUMENT ME! |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
DOCUMENT ME! |
boolean |
getAutoCommit()
DOCUMENT ME! |
String |
getCatalog()
DOCUMENT ME! |
int |
getHoldability()
DOCUMENT ME! |
DatabaseMetaData |
getMetaData()
DOCUMENT ME! |
int |
getTransactionIsolation()
DOCUMENT ME! |
Map |
getTypeMap()
DOCUMENT ME! |
SQLWarning |
getWarnings()
DOCUMENT ME! |
boolean |
isClosed()
DOCUMENT ME! |
boolean |
isReadOnly()
DOCUMENT ME! |
String |
nativeSQL(String sql)
DOCUMENT ME! |
CallableStatement |
prepareCall(String sql)
DOCUMENT ME! |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
DOCUMENT ME! |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
DOCUMENT ME! |
PreparedStatement |
prepareStatement(String sql)
DOCUMENT ME! |
PreparedStatement |
prepareStatement(String sql,
int autoGeneratedKeys)
DOCUMENT ME! |
PreparedStatement |
prepareStatement(String sql,
int[] columnIndexes)
DOCUMENT ME! |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
DOCUMENT ME! |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
DOCUMENT ME! |
PreparedStatement |
prepareStatement(String sql,
String[] columnNames)
DOCUMENT ME! |
void |
releaseSavepoint(Savepoint savepoint)
DOCUMENT ME! |
void |
rollback()
DOCUMENT ME! |
void |
rollback(Savepoint savepoint)
DOCUMENT ME! |
void |
setAutoCommit(boolean autoCommit)
DOCUMENT ME! |
void |
setCatalog(String catalog)
DOCUMENT ME! |
void |
setHoldability(int holdability)
DOCUMENT ME! |
void |
setReadOnly(boolean readOnly)
DOCUMENT ME! |
Savepoint |
setSavepoint()
DOCUMENT ME! |
Savepoint |
setSavepoint(String name)
DOCUMENT ME! |
void |
setTransactionIsolation(int level)
DOCUMENT ME! |
void |
setTypeMap(Map map)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleConnectionWrapper(Connection con)
con
- DOCUMENT ME!Method Detail |
---|
public void setAutoCommit(boolean autoCommit) throws SQLException
setAutoCommit
in interface Connection
autoCommit
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public boolean getAutoCommit() throws SQLException
getAutoCommit
in interface Connection
SQLException
- DOCUMENT ME!public void setCatalog(String catalog) throws SQLException
setCatalog
in interface Connection
catalog
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public String getCatalog() throws SQLException
getCatalog
in interface Connection
SQLException
- DOCUMENT ME!public boolean isClosed() throws SQLException
isClosed
in interface Connection
SQLException
- DOCUMENT ME!public void setHoldability(int holdability) throws SQLException
setHoldability
in interface Connection
holdability
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public int getHoldability() throws SQLException
getHoldability
in interface Connection
SQLException
- DOCUMENT ME!public DatabaseMetaData getMetaData() throws SQLException
getMetaData
in interface Connection
SQLException
- DOCUMENT ME!public void setReadOnly(boolean readOnly) throws SQLException
setReadOnly
in interface Connection
readOnly
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public boolean isReadOnly() throws SQLException
isReadOnly
in interface Connection
SQLException
- DOCUMENT ME!public Savepoint setSavepoint() throws SQLException
setSavepoint
in interface Connection
SQLException
- DOCUMENT ME!public Savepoint setSavepoint(String name) throws SQLException
setSavepoint
in interface Connection
name
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public void setTransactionIsolation(int level) throws SQLException
setTransactionIsolation
in interface Connection
level
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public int getTransactionIsolation() throws SQLException
getTransactionIsolation
in interface Connection
SQLException
- DOCUMENT ME!public void setTypeMap(Map map) throws SQLException
setTypeMap
in interface Connection
map
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public Map getTypeMap() throws SQLException
getTypeMap
in interface Connection
SQLException
- DOCUMENT ME!public SQLWarning getWarnings() throws SQLException
getWarnings
in interface Connection
SQLException
- DOCUMENT ME!public void clearWarnings() throws SQLException
clearWarnings
in interface Connection
SQLException
- DOCUMENT ME!public void close() throws SQLException
close
in interface Connection
SQLException
public void closeReally() throws SQLException
SQLException
- DOCUMENT ME!public void commit() throws SQLException
commit
in interface Connection
SQLException
- DOCUMENT ME!public Statement createStatement() throws SQLException
createStatement
in interface Connection
SQLException
- DOCUMENT ME!public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement
in interface Connection
resultSetType
- DOCUMENT ME!resultSetConcurrency
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
createStatement
in interface Connection
resultSetType
- DOCUMENT ME!resultSetConcurrency
- DOCUMENT ME!resultSetHoldability
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public String nativeSQL(String sql) throws SQLException
nativeSQL
in interface Connection
sql
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public CallableStatement prepareCall(String sql) throws SQLException
prepareCall
in interface Connection
sql
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareCall
in interface Connection
sql
- DOCUMENT ME!resultSetType
- DOCUMENT ME!resultSetConcurrency
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareCall
in interface Connection
sql
- DOCUMENT ME!resultSetType
- DOCUMENT ME!resultSetConcurrency
- DOCUMENT ME!resultSetHoldability
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement
in interface Connection
sql
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement
in interface Connection
sql
- DOCUMENT ME!resultSetType
- DOCUMENT ME!resultSetConcurrency
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement
in interface Connection
sql
- DOCUMENT ME!resultSetType
- DOCUMENT ME!resultSetConcurrency
- DOCUMENT ME!resultSetHoldability
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement
in interface Connection
sql
- DOCUMENT ME!autoGeneratedKeys
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
prepareStatement
in interface Connection
sql
- DOCUMENT ME!columnIndexes
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement
in interface Connection
sql
- DOCUMENT ME!columnNames
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint
in interface Connection
savepoint
- DOCUMENT ME!
SQLException
- DOCUMENT ME!public void rollback() throws SQLException
rollback
in interface Connection
SQLException
- DOCUMENT ME!public void rollback(Savepoint savepoint) throws SQLException
rollback
in interface Connection
savepoint
- DOCUMENT ME!
SQLException
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |