public class StandardForeignKeyExporter extends Object implements Exporter<ForeignKey>
NO_COMMANDS
Constructor and Description |
---|
StandardForeignKeyExporter(Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
String[] |
getSqlCreateStrings(ForeignKey foreignKey,
Metadata metadata)
Get the commands needed for creation.
|
String[] |
getSqlDropStrings(ForeignKey foreignKey,
Metadata metadata)
Get the commands needed for dropping.
|
public StandardForeignKeyExporter(Dialect dialect)
public String[] getSqlCreateStrings(ForeignKey foreignKey, Metadata metadata)
Exporter
getSqlCreateStrings
in interface Exporter<ForeignKey>
public String[] getSqlDropStrings(ForeignKey foreignKey, Metadata metadata)
Exporter
getSqlDropStrings
in interface Exporter<ForeignKey>
Copyright © 2020 JBoss by Red Hat. All rights reserved.