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 int
bugCheckLevel
(package private) static java.lang.String
cursorAttribute_ForUpdate
(package private) static java.lang.String
cursorAttribute_Insensitive
(package private) static java.lang.String
cursorAttribute_SensitiveStatic
(package private) static java.lang.String
cursorAttribute_WithHold
static int
defaultFetchSize
(package private) static int
defaultIsolation
private static java.lang.String[]
dncCompatibleJREVersions
(package private) static java.lang.String
dncDriverName
private static byte[]
dncPackageConsistencyToken
private static ProductVersionHolder
dncProductVersionHolder__
private static SqlException
exceptionsOnLoadResources
Used by ClientDriver to accumulate load exceptionsstatic boolean
jdbcCompliant
static java.lang.String
jdbcDerbyNETProtocol
(package private) static boolean
rangeCheckCrossConverters
-
Constructor Summary
Constructors Modifier Constructor Description private
Configuration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static ProductVersionHolder
buildProductVersionHolder()
(package private) static java.lang.String[]
getDncCompatibleJREVersions()
static byte[]
getDncPackageConsistencyToken()
static SqlException
getExceptionOnLoadResources()
(package private) static ProductVersionHolder
getProductVersionHolder()
private static void
loadProductVersionHolder()
load product version information and accumulate exceptionsstatic boolean
supportsJDBC42()
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 SqlException
load product version information and accumulate exceptions- Throws:
SqlException
-
buildProductVersionHolder
private static ProductVersionHolder buildProductVersionHolder() throws java.security.PrivilegedActionException, java.io.IOException
- Throws:
java.security.PrivilegedActionException
java.io.IOException
-
supportsJDBC42
public static boolean supportsJDBC42()
Check to see if the jvm version is such that JDBC 4.2 is supported
-
-