ca.bc.gov.webade.dbpool
Class WrapperUtils

java.lang.Object
  extended byca.bc.gov.webade.dbpool.WrapperUtils

public final class WrapperUtils
extends java.lang.Object

Author:
jross

Field Summary
static java.lang.String USE_WRAPPER_CONNECTIONS
          The USE_WRAPPER_CONNECTIONS is the System property that determines whether WebADE will use wrapper connection objects, or rely on the default Oracle implementation.
static java.lang.String USE_WRAPPER_STATEMENTS_AND_RESULTSETS
          The USE_WRAPPER_STATEMENTS_AND_RESULTSETS is the System property that determines whether WebADE will use wrapper statement and result set objects, or rely on the default Oracle implementation.
 
Constructor Summary
WrapperUtils()
           
 
Method Summary
static java.lang.String createCallerStacktrace(java.lang.StackTraceElement[] callerStacktrace)
          Creates a stacktrace using the given element array.
static boolean usesWrapperConnections()
           
static boolean usesWrapperStatementsAndResultsets()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_WRAPPER_CONNECTIONS

public static final java.lang.String USE_WRAPPER_CONNECTIONS
The USE_WRAPPER_CONNECTIONS is the System property that determines whether WebADE will use wrapper connection objects, or rely on the default Oracle implementation. The default value is true.

See Also:
Constant Field Values

USE_WRAPPER_STATEMENTS_AND_RESULTSETS

public static final java.lang.String USE_WRAPPER_STATEMENTS_AND_RESULTSETS
The USE_WRAPPER_STATEMENTS_AND_RESULTSETS is the System property that determines whether WebADE will use wrapper statement and result set objects, or rely on the default Oracle implementation. The default value is true.

See Also:
Constant Field Values
Constructor Detail

WrapperUtils

public WrapperUtils()
Method Detail

usesWrapperConnections

public static boolean usesWrapperConnections()
Returns:
Indicates whether WebADE is returning wrapper connection objects.

usesWrapperStatementsAndResultsets

public static boolean usesWrapperStatementsAndResultsets()
Returns:
Indicates whether WebADE is returning wrapper wrapper statement and result set objects.

createCallerStacktrace

public static java.lang.String createCallerStacktrace(java.lang.StackTraceElement[] callerStacktrace)
Creates a stacktrace using the given element array.

Parameters:
callerStacktrace - The caller stackTrace element array.
Returns:
A stacktrace message.