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.
<p/>
This is an ORM-centric contract
Modifier and Type | Field and Description |
---|---|
static String[] |
NO_COMMANDS |
Modifier and Type | Method and Description |
---|---|
String[] |
getSqlCreateStrings(T exportable,
Metadata metadata)
Get the commands needed for creation.
|
String[] |
getSqlDropStrings(T exportable,
Metadata metadata)
Get the commands needed for dropping.
|
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.