Class PlatformUtils

java.lang.Object
org.jumpmind.db.platform.PlatformUtils

public abstract class PlatformUtils extends Object
  • 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

      public static int determineBooleanTypeCode() throws UnsupportedOperationException
      Determines the type code for the BOOLEAN JDBC type.
      Returns:
      The type code
      Throws:
      UnsupportedOperationException - If the BOOLEAN type is not supported
    • determineDatalinkTypeCode

      public static int determineDatalinkTypeCode() throws UnsupportedOperationException
      Determines the type code for the DATALINK JDBC type.
      Returns:
      The type code
      Throws:
      UnsupportedOperationException - If the DATALINK type is not supported