DBAbstract API Documentation

ro.raducora.utils.jdbcr
Class WrapperConnection

java.lang.Object
  |
  +--ro.raducora.utils.jdbcr.WrapperConnection
All Implemented Interfaces:
java.sql.Connection

public class WrapperConnection
extends java.lang.Object
implements java.sql.Connection

Author:
Radu
Created on 06.03.2004

Field Summary
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Constructor Summary
WrapperConnection(AdapterBase adapter1, AdapterBase adapter2, ConnectInfo info, ConnectInfo replinfo)
           
 
Method Summary
 void clearWarnings()
          method not supported
 void close()
           
 void commit()
          method not supported
 java.sql.Statement createStatement()
           
 java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency)
          method not supported
 java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
          method not supported
 boolean getAutoCommit()
          method not supported
 java.lang.String getCatalog()
          method not supported
 int getHoldability()
          method not supported
 java.sql.DatabaseMetaData getMetaData()
          method not supported
 int getTransactionIsolation()
          method not supported
 java.util.Map getTypeMap()
          method not supported
 java.sql.SQLWarning getWarnings()
          method not supported
 boolean isClosed()
           
 boolean isReadOnly()
          method not supported
 java.lang.String nativeSQL(java.lang.String sql)
          method not supported
 java.sql.CallableStatement prepareCall(java.lang.String sql)
          method not supported
 java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency)
          method not supported
 java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
          method not supported
 java.sql.PreparedStatement prepareStatement(java.lang.String sql)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int autoGeneratedKeys)
          method not supported
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int[] columnIndexes)
          method not supported
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency)
          method not supported
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
          method not supported
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, java.lang.String[] columnNames)
          method not supported
 void releaseSavepoint(java.sql.Savepoint savepoint)
          method not supported
 void rollback()
          method not supported
 void rollback(java.sql.Savepoint savepoint)
          method not supported
 void setAutoCommit(boolean autoCommit)
          method not supported
 void setCatalog(java.lang.String catalog)
          method not supported
 void setHoldability(int holdability)
          method not supported
 void setReadOnly(boolean readOnly)
          method not supported
 java.sql.Savepoint setSavepoint()
          method not supported
 java.sql.Savepoint setSavepoint(java.lang.String name)
          method not supported
 void setTransactionIsolation(int level)
          method not supported
 void setTypeMap(java.util.Map map)
          method not supported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperConnection

public WrapperConnection(AdapterBase adapter1,
                         AdapterBase adapter2,
                         ConnectInfo info,
                         ConnectInfo replinfo)
                  throws java.sql.SQLException
Parameters:
adapter1 - The Adapter to use for connection
info - Connection Info
adapter2 - The second Adapter to use for connection
replinfo - Connection Info
Method Detail

createStatement

public java.sql.Statement createStatement()
                                   throws java.sql.SQLException
Specified by:
createStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.createStatement()

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql)
                                            throws java.sql.SQLException
Specified by:
prepareStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareStatement(java.lang.String)

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql)
                                       throws java.sql.SQLException
method not supported

Specified by:
prepareCall in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareCall(java.lang.String)

nativeSQL

public java.lang.String nativeSQL(java.lang.String sql)
                           throws java.sql.SQLException
method not supported

Specified by:
nativeSQL in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.nativeSQL(java.lang.String)

setAutoCommit

public void setAutoCommit(boolean autoCommit)
                   throws java.sql.SQLException
method not supported

Specified by:
setAutoCommit in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setAutoCommit(boolean)

getAutoCommit

public boolean getAutoCommit()
                      throws java.sql.SQLException
method not supported

Specified by:
getAutoCommit in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.getAutoCommit()

commit

public void commit()
            throws java.sql.SQLException
method not supported

Specified by:
commit in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.commit()

rollback

public void rollback()
              throws java.sql.SQLException
method not supported

Specified by:
rollback in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.rollback()

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.close()

isClosed

public boolean isClosed()
                 throws java.sql.SQLException
Specified by:
isClosed in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.isClosed()

getMetaData

public java.sql.DatabaseMetaData getMetaData()
                                      throws java.sql.SQLException
method not supported

Specified by:
getMetaData in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.getMetaData()

setReadOnly

public void setReadOnly(boolean readOnly)
                 throws java.sql.SQLException
method not supported

Specified by:
setReadOnly in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setReadOnly(boolean)

isReadOnly

public boolean isReadOnly()
                   throws java.sql.SQLException
method not supported

Specified by:
isReadOnly in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.isReadOnly()

setCatalog

public void setCatalog(java.lang.String catalog)
                throws java.sql.SQLException
method not supported

Specified by:
setCatalog in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setCatalog(java.lang.String)

getCatalog

public java.lang.String getCatalog()
                            throws java.sql.SQLException
method not supported

Specified by:
getCatalog in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.getCatalog()

setTransactionIsolation

public void setTransactionIsolation(int level)
                             throws java.sql.SQLException
method not supported

Specified by:
setTransactionIsolation in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setTransactionIsolation(int)

getTransactionIsolation

public int getTransactionIsolation()
                            throws java.sql.SQLException
method not supported

Specified by:
getTransactionIsolation in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.getTransactionIsolation()

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
method not supported

Specified by:
getWarnings in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.getWarnings()

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
method not supported

Specified by:
clearWarnings in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.clearWarnings()

createStatement

public java.sql.Statement createStatement(int resultSetType,
                                          int resultSetConcurrency)
                                   throws java.sql.SQLException
method not supported

Specified by:
createStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.createStatement(int, int)

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int resultSetType,
                                                   int resultSetConcurrency)
                                            throws java.sql.SQLException
method not supported

Specified by:
prepareStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareStatement(java.lang.String, int, int)

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql,
                                              int resultSetType,
                                              int resultSetConcurrency)
                                       throws java.sql.SQLException
method not supported

Specified by:
prepareCall in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareCall(java.lang.String, int, int)

getTypeMap

public java.util.Map getTypeMap()
                         throws java.sql.SQLException
method not supported

Specified by:
getTypeMap in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.getTypeMap()

setTypeMap

public void setTypeMap(java.util.Map map)
                throws java.sql.SQLException
method not supported

Specified by:
setTypeMap in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setTypeMap(java.util.Map)

setHoldability

public void setHoldability(int holdability)
                    throws java.sql.SQLException
method not supported

Specified by:
setHoldability in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setHoldability(int)

getHoldability

public int getHoldability()
                   throws java.sql.SQLException
method not supported

Specified by:
getHoldability in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.getHoldability()

setSavepoint

public java.sql.Savepoint setSavepoint()
                                throws java.sql.SQLException
method not supported

Specified by:
setSavepoint in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setSavepoint()

setSavepoint

public java.sql.Savepoint setSavepoint(java.lang.String name)
                                throws java.sql.SQLException
method not supported

Specified by:
setSavepoint in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.setSavepoint(java.lang.String)

rollback

public void rollback(java.sql.Savepoint savepoint)
              throws java.sql.SQLException
method not supported

Specified by:
rollback in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.rollback(java.sql.Savepoint)

releaseSavepoint

public void releaseSavepoint(java.sql.Savepoint savepoint)
                      throws java.sql.SQLException
method not supported

Specified by:
releaseSavepoint in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.releaseSavepoint(java.sql.Savepoint)

createStatement

public java.sql.Statement createStatement(int resultSetType,
                                          int resultSetConcurrency,
                                          int resultSetHoldability)
                                   throws java.sql.SQLException
method not supported

Specified by:
createStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.createStatement(int, int, int)

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int resultSetType,
                                                   int resultSetConcurrency,
                                                   int resultSetHoldability)
                                            throws java.sql.SQLException
method not supported

Specified by:
prepareStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareStatement(java.lang.String, int, int, int)

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql,
                                              int resultSetType,
                                              int resultSetConcurrency,
                                              int resultSetHoldability)
                                       throws java.sql.SQLException
method not supported

Specified by:
prepareCall in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareCall(java.lang.String, int, int, int)

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int autoGeneratedKeys)
                                            throws java.sql.SQLException
method not supported

Specified by:
prepareStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareStatement(java.lang.String, int)

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int[] columnIndexes)
                                            throws java.sql.SQLException
method not supported

Specified by:
prepareStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareStatement(java.lang.String, int[])

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   java.lang.String[] columnNames)
                                            throws java.sql.SQLException
method not supported

Specified by:
prepareStatement in interface java.sql.Connection
java.sql.SQLException
See Also:
Connection.prepareStatement(java.lang.String, java.lang.String[])

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.