Package org.jumpmind.db.platform
Class PlatformUtils
java.lang.Object
org.jumpmind.db.platform.PlatformUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intDetermines the type code for the BOOLEAN JDBC type.static intDetermines the type code for the DATALINK JDBC type.static booleanDetermines whether the system supports the Java 1.4 JDBC Types, DATALINK and BOOLEAN.
-
Constructor Details
-
PlatformUtils
public PlatformUtils()
-
-
Method Details
-
supportsJava14JdbcTypes
public static boolean supportsJava14JdbcTypes()Determines whether the system supports the Java 1.4 JDBC Types, DATALINK and BOOLEAN.- Returns:
trueif BOOLEAN and DATALINK are available
-
determineBooleanTypeCode
Determines the type code for the BOOLEAN JDBC type.- Returns:
- The type code
- Throws:
UnsupportedOperationException- If the BOOLEAN type is not supported
-
determineDatalinkTypeCode
Determines the type code for the DATALINK JDBC type.- Returns:
- The type code
- Throws:
UnsupportedOperationException- If the DATALINK type is not supported
-