Package org.apache.derby.client.am
Class Configuration
- java.lang.Object
-
- org.apache.derby.client.am.Configuration
-
public class Configuration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static intbugCheckLevel(package private) static java.lang.StringcursorAttribute_ForUpdate(package private) static java.lang.StringcursorAttribute_Insensitive(package private) static java.lang.StringcursorAttribute_SensitiveStatic(package private) static java.lang.StringcursorAttribute_WithHoldstatic intdefaultFetchSize(package private) static intdefaultIsolationprivate static java.lang.String[]dncCompatibleJREVersions(package private) static java.lang.StringdncDriverNameprivate static byte[]dncPackageConsistencyTokenprivate static ProductVersionHolderdncProductVersionHolder__private static SqlExceptionexceptionsOnLoadResourcesUsed by ClientDriver to accumulate load exceptionsstatic booleanjdbcCompliantstatic java.lang.StringjdbcDerbyNETProtocol(package private) static booleanrangeCheckCrossConverters
-
Constructor Summary
Constructors Modifier Constructor Description privateConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static ProductVersionHolderbuildProductVersionHolder()(package private) static java.lang.String[]getDncCompatibleJREVersions()static byte[]getDncPackageConsistencyToken()static SqlExceptiongetExceptionOnLoadResources()(package private) static ProductVersionHoldergetProductVersionHolder()private static voidloadProductVersionHolder()load product version information and accumulate exceptionsstatic booleansupportsJDBC42()Check to see if the jvm version is such that JDBC 4.2 is supported
-
-
-
Field Detail
-
dncProductVersionHolder__
private static ProductVersionHolder dncProductVersionHolder__
-
dncDriverName
static final java.lang.String dncDriverName
- See Also:
- Constant Field Values
-
dncPackageConsistencyToken
private static final byte[] dncPackageConsistencyToken
-
jdbcCompliant
public static final boolean jdbcCompliant
- See Also:
- Constant Field Values
-
dncCompatibleJREVersions
private static final java.lang.String[] dncCompatibleJREVersions
-
jdbcDerbyNETProtocol
public static final java.lang.String jdbcDerbyNETProtocol
- See Also:
- Constant Field Values
-
rangeCheckCrossConverters
static final boolean rangeCheckCrossConverters
- See Also:
- Constant Field Values
-
bugCheckLevel
static final int bugCheckLevel
- See Also:
- Constant Field Values
-
defaultIsolation
static final int defaultIsolation
- See Also:
- Constant Field Values
-
defaultFetchSize
public static final int defaultFetchSize
- See Also:
- Constant Field Values
-
cursorAttribute_SensitiveStatic
static final java.lang.String cursorAttribute_SensitiveStatic
- See Also:
- Constant Field Values
-
cursorAttribute_Insensitive
static final java.lang.String cursorAttribute_Insensitive
- See Also:
- Constant Field Values
-
cursorAttribute_ForUpdate
static final java.lang.String cursorAttribute_ForUpdate
- See Also:
- Constant Field Values
-
cursorAttribute_WithHold
static final java.lang.String cursorAttribute_WithHold
- See Also:
- Constant Field Values
-
exceptionsOnLoadResources
private static SqlException exceptionsOnLoadResources
Used by ClientDriver to accumulate load exceptions
-
-
Method Detail
-
getProductVersionHolder
static ProductVersionHolder getProductVersionHolder()
-
getDncPackageConsistencyToken
public static byte[] getDncPackageConsistencyToken()
-
getDncCompatibleJREVersions
static java.lang.String[] getDncCompatibleJREVersions()
-
getExceptionOnLoadResources
public static SqlException getExceptionOnLoadResources()
-
loadProductVersionHolder
private static void loadProductVersionHolder() throws SqlExceptionload product version information and accumulate exceptions- Throws:
SqlException
-
buildProductVersionHolder
private static ProductVersionHolder buildProductVersionHolder() throws java.security.PrivilegedActionException, java.io.IOException
- Throws:
java.security.PrivilegedActionExceptionjava.io.IOException
-
supportsJDBC42
public static boolean supportsJDBC42()
Check to see if the jvm version is such that JDBC 4.2 is supported
-
-