| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| private static class | |
| private static class | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv String | |
| private final List | |
| pack-priv boolean | |
| pack-priv boolean | |
| private String | |
| private static final CoreMessageLogger | |
| pack-priv boolean | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static MetadataImplementor | |
| public static MetadataImplementor | Returns: The built MetadataThe "command line args" args)Intended for test usage only. |
| private static StandardServiceRegistry | |
| public static TargetDescriptor | buildTargetDescriptor(EnumSet<TargetType> targetTypes, String outputFile, ServiceRegistry serviceRegistry)
|
| public static TargetDescriptor | buildTargetDescriptor(EnumSet<TargetType> targetTypes, String outputFile, boolean append, ServiceRegistry serviceRegistry)
|
| public void | |
| public void | |
| public void | doExecution(SchemaExport.
|
| public void | |
| public void | |
| public void | execute(EnumSet<TargetType> targetTypes, SchemaExport.
|
| public static void | |
| public List | Returns: A List containing the Exceptions occurred during the exportReturns a List of all Exceptions which occurred during the export. |
| public static void | |
| private boolean | |
| public void | |
| public SchemaExport | |
| public SchemaExport | |
| public SchemaExport | Returns: thisTrue if export should stop after error. haltOnError)Should we stop once an error occurs? |
| public SchemaExport | Returns: thisThe comma-separated list of init file resources names importFiles)Comma-separated list of resource names to use for database init commands on create. |
| public SchemaExport | |
| public SchemaExport | Returns: thisThe name of the file to which to write the export script. filename)For generating a export script file, this is the file which will be written. |
| public SchemaExport | Returns: thisFor generating a export script file, by default the content will be appended at the begin or end of the file. |
| append | back to summary |
|---|---|
| pack-priv boolean append | |
| delimiter | back to summary |
|---|---|
| pack-priv String delimiter | |
| exceptions | back to summary |
|---|---|
| private final List<Exception> exceptions | |
| format | back to summary |
|---|---|
| pack-priv boolean format | |
| haltOnError | back to summary |
|---|---|
| pack-priv boolean haltOnError | |
| importFiles | back to summary |
|---|---|
| private String importFiles | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| manageNamespaces | back to summary |
|---|---|
| pack-priv boolean manageNamespaces | |
| outputFile | back to summary |
|---|---|
| pack-priv String outputFile | |
| SchemaExport | back to summary |
|---|---|
| public SchemaExport() | |
| buildMetadata | back to summary |
|---|---|
| private static MetadataImplementor buildMetadata(SchemaExport. | |
| buildMetadataFromMainArgs | back to summary |
|---|---|
| public static MetadataImplementor buildMetadataFromMainArgs(String[] args) throws Exception Intended for test usage only. Builds a Metadata using the same algorithm as
| |
| buildStandardServiceRegistry | back to summary |
|---|---|
| private static StandardServiceRegistry buildStandardServiceRegistry(SchemaExport. | |
| buildTargetDescriptor | back to summary |
|---|---|
| public static TargetDescriptor buildTargetDescriptor(EnumSet<TargetType> targetTypes, String outputFile, ServiceRegistry serviceRegistry) | |
| buildTargetDescriptor | back to summary |
|---|---|
| public static TargetDescriptor buildTargetDescriptor(EnumSet<TargetType> targetTypes, String outputFile, boolean append, ServiceRegistry serviceRegistry) | |
| create | back to summary |
|---|---|
| public void create(EnumSet<TargetType> targetTypes, Metadata metadata) | |
| createOnly | back to summary |
|---|---|
| public void createOnly(EnumSet<TargetType> targetTypes, Metadata metadata) | |
| doExecution | back to summary |
|---|---|
| public void doExecution(SchemaExport. | |
| drop | back to summary |
|---|---|
| public void drop(EnumSet<TargetType> targetTypes, Metadata metadata) | |
| execute | back to summary |
|---|---|
| public void execute(EnumSet<TargetType> targetTypes, SchemaExport. | |
| execute | back to summary |
|---|---|
public void execute(EnumSet<TargetType> targetTypes, SchemaExport.
| |
| execute | back to summary |
|---|---|
| public static void execute(SchemaExport. | |
| getExceptions | back to summary |
|---|---|
| public List Returns a List of all Exceptions which occurred during the export.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| needsJdbcConnection | back to summary |
|---|---|
| private boolean needsJdbcConnection(EnumSet<TargetType> targetTypes) | |
| perform | back to summary |
|---|---|
| public void perform(SchemaExport. For testing use | |
| setDelimiter | back to summary |
|---|---|
| public SchemaExport setDelimiter(String delimiter) Set the end of statement delimiter
| |
| setFormat | back to summary |
|---|---|
| public SchemaExport setFormat(boolean format) Should we format the sql strings?
| |
| setHaltOnError | back to summary |
|---|---|
| public SchemaExport setHaltOnError(boolean haltOnError) Should we stop once an error occurs?
| |
| setImportFiles | back to summary |
|---|---|
| public SchemaExport setImportFiles(String importFiles) Comma-separated list of resource names to use for database init commands on create.
| |
| setManageNamespaces | back to summary |
|---|---|
| public SchemaExport setManageNamespaces(boolean manageNamespaces) | |
| setOutputFile | back to summary |
|---|---|
| public SchemaExport setOutputFile(String filename) For generating a export script file, this is the file which will be written.
| |
| setOverrideOutputFileContent | back to summary |
|---|---|
| public SchemaExport setOverrideOutputFileContent() For generating a export script file, by default the content will be appended at the begin or end of the file. The sql will be written at the beginning of the file rather append to the end.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final SchemaExport. | BOTH
Drop and then create |
| public static final SchemaExport. | CREATE
Create only |
| public static final SchemaExport. | DROP
Drop only |
| public static final SchemaExport. | NONE
None - duh :P |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| private static SchemaExport. | |
| public static SchemaExport. | |
| public static SchemaExport. | |
| public static SchemaExport. |
| BOTH | back to summary |
|---|---|
| public static final SchemaExport. Drop and then create | |
| CREATE | back to summary |
|---|---|
| public static final SchemaExport. Create only | |
| DROP | back to summary |
|---|---|
| public static final SchemaExport. Drop only | |
| NONE | back to summary |
|---|---|
| public static final SchemaExport. None - duh :P | |
| Action | back to summary |
|---|---|
| private Action() | |
| doCreate | back to summary |
|---|---|
| public boolean doCreate() | |
| doDrop | back to summary |
|---|---|
| public boolean doDrop() | |
| interpret | back to summary |
|---|---|
| private static SchemaExport. | |
| parseCommandLineOption | back to summary |
|---|---|
| public static SchemaExport. | |
| valueOf | back to summary |
|---|---|
| public static SchemaExport. | |
| values | back to summary |
|---|---|
| public static SchemaExport. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv SchemaExport. | |
| pack-priv String | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv List | |
| pack-priv String | |
| pack-priv String | |
| pack-priv List | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv EnumSet |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SchemaExport. |
| action | back to summary |
|---|---|
| pack-priv SchemaExport. | |
| cfgXmlFile | back to summary |
|---|---|
| pack-priv String cfgXmlFile | |
| delimiter | back to summary |
|---|---|
| pack-priv String delimiter | |
| format | back to summary |
|---|---|
| pack-priv boolean format | |
| halt | back to summary |
|---|---|
| pack-priv boolean halt | |
| hbmXmlFiles | back to summary |
|---|---|
| pack-priv List<String> hbmXmlFiles | |
| implicitNamingStrategyImplName | back to summary |
|---|---|
| pack-priv String implicitNamingStrategyImplName | |
| importFile | back to summary |
|---|---|
| pack-priv String importFile | |
| jarFiles | back to summary |
|---|---|
| pack-priv List<String> jarFiles | |
| manageNamespaces | back to summary |
|---|---|
| pack-priv boolean manageNamespaces | |
| outputFile | back to summary |
|---|---|
| pack-priv String outputFile | |
| physicalNamingStrategyImplName | back to summary |
|---|---|
| pack-priv String physicalNamingStrategyImplName | |
| propertiesFile | back to summary |
|---|---|
| pack-priv String propertiesFile | |
| targetTypes | back to summary |
|---|---|
| pack-priv EnumSet<TargetType> targetTypes | |
| CommandLineArgs | back to summary |
|---|---|
| private CommandLineArgs() | |
| parseCommandLineArgs | back to summary |
|---|---|
| public static SchemaExport. | |
| Modifier and Type | Field and Description |
|---|---|
| private final ScriptTargetOutput | |
| private final EnumSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ScriptTargetOutput | getScriptTargetOutput()
Implements org. getTargetTypes() includes scripts, return a representation
of the script file to write to.
|
| public EnumSet | getTargetTypes()
Implements org. |
| scriptTarget | back to summary |
|---|---|
| private final ScriptTargetOutput scriptTarget | |
| targetTypes | back to summary |
|---|---|
| private final EnumSet<TargetType> targetTypes | |
| TargetDescriptorImpl | back to summary |
|---|---|
| public TargetDescriptorImpl(EnumSet<TargetType> targetTypes, ScriptTargetOutput scriptTarget) | |
| getScriptTargetOutput | back to summary |
|---|---|
| public ScriptTargetOutput getScriptTargetOutput() Implements org. Doc from org. If
While it is ultimately up to the actual tooling provider, it is generally an error
for
| |
| getTargetTypes | back to summary |
|---|---|
| public EnumSet Implements org. Doc from org. The target type described here.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SchemaExport. | |
| public static final SchemaExport. | |
| public static final SchemaExport. | |
| public static final SchemaExport. | |
| public static final SchemaExport. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public static SchemaExport. | |
| public static SchemaExport. |
| actionReplacement | back to summary |
|---|---|
| private final SchemaExport. | |
| BOTH | back to summary |
|---|---|
| public static final SchemaExport. | |
| CREATE | back to summary |
|---|---|
| public static final SchemaExport. | |
| DROP | back to summary |
|---|---|
| public static final SchemaExport. | |
| NONE | back to summary |
|---|---|
| public static final SchemaExport. | |
| Type | back to summary |
|---|---|
| private Type(SchemaExport. | |
| doCreate | back to summary |
|---|---|
| public boolean doCreate() | |
| doDrop | back to summary |
|---|---|
| public boolean doDrop() | |
| valueOf | back to summary |
|---|---|
| public static SchemaExport. | |
| values | back to summary |
|---|---|
| public static SchemaExport. | |