Interface Exporter<T extends Exportable>


  • public interface Exporter<T extends Exportable>
    Defines a contract for exporting of database objects (tables, sequences, etc) for use in SQL CREATE and DROP scripts.

    This is an ORM-centric contract

    • Field Detail

      • NO_COMMANDS

        static final java.lang.String[] NO_COMMANDS
    • Method Detail

      • getSqlCreateStrings

        java.lang.String[] getSqlCreateStrings​(T exportable,
                                               Metadata metadata)
        Get the commands needed for creation.
        Returns:
        The commands needed for creation scripting.
      • getSqlDropStrings

        java.lang.String[] getSqlDropStrings​(T exportable,
                                             Metadata metadata)
        Get the commands needed for dropping.
        Returns:
        The commands needed for drop scripting.