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