BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.jdbc.informix4
Class BaseHandler

java.lang.Object
  |
  +--weblogic.jdbc.informix4.BaseHandler
Direct Known Subclasses:
BaseConnection, ManualEntry, Statement

public class BaseHandler
extends java.lang.Object
implements IBaseHandler

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Field Summary
protected  boolean closed
           
static int kInformixProtocol
           
static int kMicrosoftProtocol
           
static int kOracleProtocol
           
static int kSybaseProtocol
           
static int kUnknownProtocol
           
protected  int unique
           
protected  java.sql.SQLWarning warnings
           
 
Constructor Summary
BaseHandler()
           
 
Method Summary
protected  void appendWarning(java.sql.SQLWarning warning)
          Adds given warning to the chain of warnings for this handler.
 void clearWarnings()
          After this call getWarnings returns null until a new warning is reported for this Connection.
 void close()
          Close this object.
protected  void complainIfClosed()
           
protected  void finalize()
           
 int getProtocol()
           
 java.sql.SQLWarning getWarnings()
          The first warning reported by calls on this Connection is returned.
 boolean isClosed()
           
 void setProtocol(int iHandlerProtocol)
          Assigns a handler protocol type to this handler.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kUnknownProtocol

public static final int kUnknownProtocol

kSybaseProtocol

public static final int kSybaseProtocol

kMicrosoftProtocol

public static final int kMicrosoftProtocol

kOracleProtocol

public static final int kOracleProtocol

kInformixProtocol

public static final int kInformixProtocol

unique

protected int unique

warnings

protected java.sql.SQLWarning warnings

closed

protected boolean closed
Constructor Detail

BaseHandler

public BaseHandler()
Method Detail

setProtocol

public void setProtocol(int iHandlerProtocol)
Assigns a handler protocol type to this handler.
Specified by:
setProtocol in interface IBaseHandler


getProtocol

public int getProtocol()
Specified by:
getProtocol in interface IBaseHandler


getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
The first warning reported by calls on this Connection is returned.
Specified by:
getWarnings in interface IBaseHandler


clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
After this call getWarnings returns null until a new warning is reported for this Connection.
Specified by:
clearWarnings in interface IBaseHandler


appendWarning

protected void appendWarning(java.sql.SQLWarning warning)
Adds given warning to the chain of warnings for this handler.


close

public void close()
           throws java.sql.SQLException
Close this object.


isClosed

public boolean isClosed()
Specified by:
isClosed in interface IBaseHandler


complainIfClosed

protected void complainIfClosed()
                         throws java.sql.SQLException


finalize

protected void finalize()

Overrides:
finalize in class java.lang.Object

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.