DBAbstract API Documentation

ro.raducora.utils.jdbcr
Class WrapperStatement

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

public class WrapperStatement
extends java.lang.Object
implements java.sql.Statement

Author:
Radu
Created on 06.03.2004

Field Summary
 
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
WrapperStatement(AdapterBase clientAdapter1, AdapterBase clientAdapter2, ConnectInfo info1, ConnectInfo info2)
          Inits the wrapper with the AdapterBase
 
Method Summary
 void addBatch(java.lang.String sql)
          Method Not Supported
 void cancel()
          Method Not Supported
 void clearBatch()
          Method Not Supported
 void clearWarnings()
          Method Not Supported
 void close()
           
 boolean execute(java.lang.String sql)
           
 boolean execute(java.lang.String sql, int autoGeneratedKeys)
          Method Not Supported
 boolean execute(java.lang.String sql, int[] columnIndexes)
          Method Not Supported
 boolean execute(java.lang.String sql, java.lang.String[] columnNames)
          Method Not Supported
 int[] executeBatch()
          Method Not Supported
 java.sql.ResultSet executeQuery(java.lang.String sql)
           
 int executeUpdate(java.lang.String sql)
           
 int executeUpdate(java.lang.String sql, int autoGeneratedKeys)
          Method Not Supported
 int executeUpdate(java.lang.String sql, int[] columnIndexes)
          Method Not Supported
 int executeUpdate(java.lang.String sql, java.lang.String[] columnNames)
          Method Not Supported
 java.sql.Connection getConnection()
          Method Not Supported
 int getFetchDirection()
          Method Not Supported
 int getFetchSize()
          Method Not Supported
 java.sql.ResultSet getGeneratedKeys()
          Method Not Supported
 int getMaxFieldSize()
          Method Not Supported
 int getMaxRows()
          Method Not Supported
 boolean getMoreResults()
          Method Not Supported
 boolean getMoreResults(int current)
          Method Not Supported
 int getQueryTimeout()
          Method Not Supported
 java.sql.ResultSet getResultSet()
           
 int getResultSetConcurrency()
          Method Not Supported
 int getResultSetHoldability()
          Method Not Supported
 int getResultSetType()
          Method Not Supported
 int getUpdateCount()
           
 java.sql.SQLWarning getWarnings()
          Method Not Supported
 void setCursorName(java.lang.String name)
          Method Not Supported
 void setEscapeProcessing(boolean enable)
          Method Not Supported
 void setFetchDirection(int direction)
          Method Not Supported
 void setFetchSize(int rows)
          Method Not Supported
 void setMaxFieldSize(int max)
          Method Not Supported
 void setMaxRows(int max)
          Method Not Supported
 void setQueryTimeout(int seconds)
          Method Not Supported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperStatement

public WrapperStatement(AdapterBase clientAdapter1,
                        AdapterBase clientAdapter2,
                        ConnectInfo info1,
                        ConnectInfo info2)
Inits the wrapper with the AdapterBase

Parameters:
clientAdapter1 - the first Adapter used to connect
clientAdapter2 - the second Adapter used to connect
Method Detail

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String sql)
                                throws java.sql.SQLException
Specified by:
executeQuery in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.executeQuery(java.lang.String)

executeUpdate

public int executeUpdate(java.lang.String sql)
                  throws java.sql.SQLException
Specified by:
executeUpdate in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.executeUpdate(java.lang.String)

close

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

getMaxFieldSize

public int getMaxFieldSize()
                    throws java.sql.SQLException
Method Not Supported

Specified by:
getMaxFieldSize in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getMaxFieldSize()

setMaxFieldSize

public void setMaxFieldSize(int max)
                     throws java.sql.SQLException
Method Not Supported

Specified by:
setMaxFieldSize in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.setMaxFieldSize(int)

getMaxRows

public int getMaxRows()
               throws java.sql.SQLException
Method Not Supported

Specified by:
getMaxRows in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getMaxRows()

setMaxRows

public void setMaxRows(int max)
                throws java.sql.SQLException
Method Not Supported

Specified by:
setMaxRows in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.setMaxRows(int)

setEscapeProcessing

public void setEscapeProcessing(boolean enable)
                         throws java.sql.SQLException
Method Not Supported

Specified by:
setEscapeProcessing in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.setEscapeProcessing(boolean)

getQueryTimeout

public int getQueryTimeout()
                    throws java.sql.SQLException
Method Not Supported

Specified by:
getQueryTimeout in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getQueryTimeout()

setQueryTimeout

public void setQueryTimeout(int seconds)
                     throws java.sql.SQLException
Method Not Supported

Specified by:
setQueryTimeout in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.setQueryTimeout(int)

cancel

public void cancel()
            throws java.sql.SQLException
Method Not Supported

Specified by:
cancel in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.cancel()

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
Method Not Supported

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

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
Method Not Supported

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

setCursorName

public void setCursorName(java.lang.String name)
                   throws java.sql.SQLException
Method Not Supported

Specified by:
setCursorName in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.setCursorName(java.lang.String)

execute

public boolean execute(java.lang.String sql)
                throws java.sql.SQLException
Specified by:
execute in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.execute(java.lang.String)

getResultSet

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

getUpdateCount

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

getMoreResults

public boolean getMoreResults()
                       throws java.sql.SQLException
Method Not Supported

Specified by:
getMoreResults in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getMoreResults()

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException
Method Not Supported

Specified by:
setFetchDirection in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.setFetchDirection(int)

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
Method Not Supported

Specified by:
getFetchDirection in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getFetchDirection()

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException
Method Not Supported

Specified by:
setFetchSize in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.setFetchSize(int)

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
Method Not Supported

Specified by:
getFetchSize in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getFetchSize()

getResultSetConcurrency

public int getResultSetConcurrency()
                            throws java.sql.SQLException
Method Not Supported

Specified by:
getResultSetConcurrency in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getResultSetConcurrency()

getResultSetType

public int getResultSetType()
                     throws java.sql.SQLException
Method Not Supported

Specified by:
getResultSetType in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getResultSetType()

addBatch

public void addBatch(java.lang.String sql)
              throws java.sql.SQLException
Method Not Supported

Specified by:
addBatch in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.addBatch(java.lang.String)

clearBatch

public void clearBatch()
                throws java.sql.SQLException
Method Not Supported

Specified by:
clearBatch in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.clearBatch()

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
Method Not Supported

Specified by:
executeBatch in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.executeBatch()

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Method Not Supported

Specified by:
getConnection in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getConnection()

getMoreResults

public boolean getMoreResults(int current)
                       throws java.sql.SQLException
Method Not Supported

Specified by:
getMoreResults in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getMoreResults(int)

getGeneratedKeys

public java.sql.ResultSet getGeneratedKeys()
                                    throws java.sql.SQLException
Method Not Supported

Specified by:
getGeneratedKeys in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getGeneratedKeys()

executeUpdate

public int executeUpdate(java.lang.String sql,
                         int autoGeneratedKeys)
                  throws java.sql.SQLException
Method Not Supported

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

executeUpdate

public int executeUpdate(java.lang.String sql,
                         int[] columnIndexes)
                  throws java.sql.SQLException
Method Not Supported

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

executeUpdate

public int executeUpdate(java.lang.String sql,
                         java.lang.String[] columnNames)
                  throws java.sql.SQLException
Method Not Supported

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

execute

public boolean execute(java.lang.String sql,
                       int autoGeneratedKeys)
                throws java.sql.SQLException
Method Not Supported

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

execute

public boolean execute(java.lang.String sql,
                       int[] columnIndexes)
                throws java.sql.SQLException
Method Not Supported

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

execute

public boolean execute(java.lang.String sql,
                       java.lang.String[] columnNames)
                throws java.sql.SQLException
Method Not Supported

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

getResultSetHoldability

public int getResultSetHoldability()
                            throws java.sql.SQLException
Method Not Supported

Specified by:
getResultSetHoldability in interface java.sql.Statement
java.sql.SQLException
See Also:
Statement.getResultSetHoldability()

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.