Package org.jumpmind.db.platform
Class PlatformUtils
java.lang.Object
org.jumpmind.db.platform.PlatformUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
Determines the type code for the BOOLEAN JDBC type.static int
Determines the type code for the DATALINK JDBC type.static boolean
Determines 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:
true
if 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
-