Class SybaseASEDatabase

    • Method Detail

      • ensureSupported

        public void ensureSupported()
        Description copied from interface: Database
        Ensure MigrateDB supports this version of this database.
      • getRawCreateScript

        public String getRawCreateScript​(Table table,
                                         boolean baseline)
      • supportsDdlTransactions

        public boolean supportsDdlTransactions()
      • supportsChangingCurrentSchema

        public boolean supportsChangingCurrentSchema()
      • getBooleanTrue

        public String getBooleanTrue()
        Returns:
        The representation of the value true in a boolean column.
      • getBooleanFalse

        public String getBooleanFalse()
        Returns:
        The representation of the value false in a boolean column.
      • catalogIsSchema

        public boolean catalogIsSchema()
        Returns:
        true if this database uses a catalog to represent a schema, or false if a schema is simply a schema.
      • supportsMultiStatementTransactions

        public boolean supportsMultiStatementTransactions()
        Multi statement transaction support is dependent on the 'ddl in tran' option being set. However, setting 'ddl in tran' doesn't necessarily mean that multi-statement transactions are supported. Also, ddl in tran can change during execution for unknown reasons. Therefore, as a best guess: - When this method is called, check ddl in tran - If ddl in tran is true, assume support for multi statement transactions forever more - Never check ddl in tran again - If ddl in tran is false, return false - Check ddl in tran again on the next call
        Specified by:
        supportsMultiStatementTransactions in interface Database
        Overrides:
        supportsMultiStatementTransactions in class BaseDatabase