Sun Adapter Common API

com.stc.connector.db
Interface LogHelper


public interface LogHelper

A helper interface to use Logger.

Version:
$Revision: 1.2 $
Author:
$Author: cmbuild $

Field Summary
static java.lang.String MSG_DBG_ADD_SESSION_LISTENER
          Adding a session event listener.
static java.lang.String MSG_DBG_CHECK_CONN
          Checks connection status.
static java.lang.String MSG_DBG_CLOSE_SESSION
          Closing the database session.
static java.lang.String MSG_DBG_CLOSE_SESSION_DETECTED
          Session close detected.
static java.lang.String MSG_DBG_CLOSE_SESSION_DONE
          Successfully close a session.
static java.lang.String MSG_DBG_CONNECTION_RELEASED
          Successfully realease the connection.
static java.lang.String MSG_DBG_DBMS_TYPE
          DBMS type.
static java.lang.String MSG_DBG_INSTANCE_CREATED
          Created instance.
static java.lang.String MSG_DBG_LOG_WRITER_CLOSED
          Successfully close the JDBC log writer.
static java.lang.String MSG_DBG_NEW_RESULSET
          Reset session event detected.
static java.lang.String MSG_DBG_OPEN_CONNECTOR_DONE
          Successfully open a connector.
static java.lang.String MSG_DBG_OPEN_SESSION
          Opening a database session.
static java.lang.String MSG_DBG_OPEN_SESSION_DETECTED
          Open session is detected.
static java.lang.String MSG_DBG_OPEN_SESSION_DONE
          Successfully open a session.
static java.lang.String MSG_DBG_RELEASE_STMT_RESOURCE
          Releases statement resources.
static java.lang.String MSG_DBG_REMOVE_SESSION_LISTENER
          Removing a session event listener.
static java.lang.String MSG_DBG_RESET_SESSION_DETECTED
          Reset session event detected.
static java.lang.String MSG_ERR_CREATE_FAILED
          Fails to instantiate.
static java.lang.String MSG_ERR_IGNORE_EXCEPTION
          Ignores caught exception.
static java.lang.String MSG_ERR_INIT_FAILED
          Initialization failed.
static java.lang.String MSG_ERR_NO_RESULTSET
          No result set available.
static java.lang.String MSG_ERR_NO_RESULTSET_QUERY
          Query returns empty result set.
static java.lang.String MSG_ERR_NO_STATEMENT_OBJECT
          Statement object not initialized.
static java.lang.String MSG_ERR_NULL_PREP_STMT
          Null Prepared SQL statement.
static java.lang.String MSG_ERR_NULL_SQL_STMT
          Null SQL statement.
static java.lang.String MSG_ERR_NULL_UPDATE_STMT
          Null Update statement.
static java.lang.String MSG_ERR_OPEN_SESSION_FAILED
          Fail to open a session.
static java.lang.String MSG_ERR_SESSION_NOT_OPEN
          Session is not opened.
static java.lang.String MSG_ERR_STMT_AGENT_NOT_EXIST
          Statement agent does not exist.
static java.lang.String MSG_ERR_UNHANDLED_JDBC_ERR
          Unhandled JDBC driver error.
 

Field Detail

MSG_ERR_NO_RESULTSET

static final java.lang.String MSG_ERR_NO_RESULTSET
No result set available.

See Also:
Constant Field Values

MSG_ERR_NO_STATEMENT_OBJECT

static final java.lang.String MSG_ERR_NO_STATEMENT_OBJECT
Statement object not initialized.

See Also:
Constant Field Values

MSG_ERR_SESSION_NOT_OPEN

static final java.lang.String MSG_ERR_SESSION_NOT_OPEN
Session is not opened.

See Also:
Constant Field Values

MSG_ERR_OPEN_SESSION_FAILED

static final java.lang.String MSG_ERR_OPEN_SESSION_FAILED
Fail to open a session.

See Also:
Constant Field Values

MSG_ERR_UNHANDLED_JDBC_ERR

static final java.lang.String MSG_ERR_UNHANDLED_JDBC_ERR
Unhandled JDBC driver error.

See Also:
Constant Field Values

MSG_ERR_IGNORE_EXCEPTION

static final java.lang.String MSG_ERR_IGNORE_EXCEPTION
Ignores caught exception.

See Also:
Constant Field Values

MSG_ERR_NO_RESULTSET_QUERY

static final java.lang.String MSG_ERR_NO_RESULTSET_QUERY
Query returns empty result set.

See Also:
Constant Field Values

MSG_ERR_NULL_SQL_STMT

static final java.lang.String MSG_ERR_NULL_SQL_STMT
Null SQL statement.

See Also:
Constant Field Values

MSG_ERR_NULL_PREP_STMT

static final java.lang.String MSG_ERR_NULL_PREP_STMT
Null Prepared SQL statement.

See Also:
Constant Field Values

MSG_ERR_NULL_UPDATE_STMT

static final java.lang.String MSG_ERR_NULL_UPDATE_STMT
Null Update statement.

See Also:
Constant Field Values

MSG_ERR_CREATE_FAILED

static final java.lang.String MSG_ERR_CREATE_FAILED
Fails to instantiate.

See Also:
Constant Field Values

MSG_ERR_STMT_AGENT_NOT_EXIST

static final java.lang.String MSG_ERR_STMT_AGENT_NOT_EXIST
Statement agent does not exist.

See Also:
Constant Field Values

MSG_ERR_INIT_FAILED

static final java.lang.String MSG_ERR_INIT_FAILED
Initialization failed.

See Also:
Constant Field Values

MSG_DBG_OPEN_SESSION_DETECTED

static final java.lang.String MSG_DBG_OPEN_SESSION_DETECTED
Open session is detected.

See Also:
Constant Field Values

MSG_DBG_OPEN_SESSION

static final java.lang.String MSG_DBG_OPEN_SESSION
Opening a database session.

See Also:
Constant Field Values

MSG_DBG_OPEN_SESSION_DONE

static final java.lang.String MSG_DBG_OPEN_SESSION_DONE
Successfully open a session.

See Also:
Constant Field Values

MSG_DBG_OPEN_CONNECTOR_DONE

static final java.lang.String MSG_DBG_OPEN_CONNECTOR_DONE
Successfully open a connector.

See Also:
Constant Field Values

MSG_DBG_CONNECTION_RELEASED

static final java.lang.String MSG_DBG_CONNECTION_RELEASED
Successfully realease the connection.

See Also:
Constant Field Values

MSG_DBG_LOG_WRITER_CLOSED

static final java.lang.String MSG_DBG_LOG_WRITER_CLOSED
Successfully close the JDBC log writer.

See Also:
Constant Field Values

MSG_DBG_CLOSE_SESSION

static final java.lang.String MSG_DBG_CLOSE_SESSION
Closing the database session.

See Also:
Constant Field Values

MSG_DBG_CLOSE_SESSION_DONE

static final java.lang.String MSG_DBG_CLOSE_SESSION_DONE
Successfully close a session.

See Also:
Constant Field Values

MSG_DBG_CLOSE_SESSION_DETECTED

static final java.lang.String MSG_DBG_CLOSE_SESSION_DETECTED
Session close detected.

See Also:
Constant Field Values

MSG_DBG_ADD_SESSION_LISTENER

static final java.lang.String MSG_DBG_ADD_SESSION_LISTENER
Adding a session event listener.

See Also:
Constant Field Values

MSG_DBG_REMOVE_SESSION_LISTENER

static final java.lang.String MSG_DBG_REMOVE_SESSION_LISTENER
Removing a session event listener.

See Also:
Constant Field Values

MSG_DBG_CHECK_CONN

static final java.lang.String MSG_DBG_CHECK_CONN
Checks connection status.

See Also:
Constant Field Values

MSG_DBG_DBMS_TYPE

static final java.lang.String MSG_DBG_DBMS_TYPE
DBMS type.

See Also:
Constant Field Values

MSG_DBG_RELEASE_STMT_RESOURCE

static final java.lang.String MSG_DBG_RELEASE_STMT_RESOURCE
Releases statement resources.

See Also:
Constant Field Values

MSG_DBG_RESET_SESSION_DETECTED

static final java.lang.String MSG_DBG_RESET_SESSION_DETECTED
Reset session event detected.

See Also:
Constant Field Values

MSG_DBG_NEW_RESULSET

static final java.lang.String MSG_DBG_NEW_RESULSET
Reset session event detected.

See Also:
Constant Field Values

MSG_DBG_INSTANCE_CREATED

static final java.lang.String MSG_DBG_INSTANCE_CREATED
Created instance.

See Also:
Constant Field Values

Sun Adapter Common API