Class DB2Database

    • Constructor Detail

      • DB2Database

        public DB2Database()
    • Method Detail

      • getShortName

        public String getShortName()
        Description copied from interface: Database
        Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.
      • supportsBooleanDataType

        public boolean supportsBooleanDataType()
        Checks if the database supports boolean data type columns. This is true for versions >= 11.1.1.1.
        Returns:
        true if boolean data type columns are supported, false otherwise
      • supportsCreateIfNotExists

        public boolean supportsCreateIfNotExists​(Class<? extends DatabaseObject> type)
        Description copied from interface: Database
        Does the database support the "if not exits" syntax?
        Parameters:
        type - the DatabaseObject type to be checked.
        Returns:
        true if the "if not exists" syntax is supported, false otherwise.