Interface AuxiliaryDatabaseObject

    • Method Detail

      • appliesToDialect

        boolean appliesToDialect​(Dialect dialect)
        Does this database object apply to the given dialect?
        Parameters:
        dialect - The dialect to check against.
        Returns:
        True if this database object does apply to the given dialect.
      • beforeTablesOnCreation

        boolean beforeTablesOnCreation()
        Defines a simple precedence. Should creation of this auxiliary object happen before creation of tables? If true, the auxiliary object creation will happen after any explicit schema creations but before table/sequence creations; if false, the auxiliary object creation will happen after explicit schema creations and after table/sequence creations. This precedence is automatically inverted for dropping.
        Returns:
        true indicates this object should be created before tables; false indicates it should be created after.
      • sqlCreateStrings

        String[] sqlCreateStrings​(SqlStringGenerationContext context)
        Gets the SQL strings for creating the database object.
        Parameters:
        context - A context to help generate the SQL creation strings
        Returns:
        the SQL strings for creating the database object.
      • sqlDropStrings

        String[] sqlDropStrings​(SqlStringGenerationContext context)
        Gets the SQL strings for dropping the database object.
        Parameters:
        context - A context to help generate the SQL drop strings
        Returns:
        the SQL strings for dropping the database object.