Modifier and Type | Field and Description |
---|---|
private DbEngine |
dbEngine |
private Dialect |
dialect |
private boolean |
dropIndexes |
private boolean |
isVerbose |
private static org.slf4j.Logger |
log |
private org.hibernate.boot.Metadata |
metadata |
private boolean |
silent |
private org.hibernate.tool.schema.spi.Target |
target |
private boolean |
updateIndexes |
Constructor and Description |
---|
DbIndexWork(org.hibernate.boot.Metadata metadata,
Dialect dialect,
DbEngine dbEngine,
boolean verbose,
boolean silent,
boolean dropIndexes,
boolean updateIndexes) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Connection connection) |
void |
setTarget(org.hibernate.tool.schema.spi.Target target)
Set a target for receiving information about SQL
statements that are needed to create missing foreign keys
and indexes.
|
private static final org.slf4j.Logger log
private final org.hibernate.boot.Metadata metadata
private final Dialect dialect
private final DbEngine dbEngine
private final boolean isVerbose
private final boolean silent
private final boolean dropIndexes
private final boolean updateIndexes
private org.hibernate.tool.schema.spi.Target target
public DbIndexWork(org.hibernate.boot.Metadata metadata, Dialect dialect, DbEngine dbEngine, boolean verbose, boolean silent, boolean dropIndexes, boolean updateIndexes)
public void setTarget(org.hibernate.tool.schema.spi.Target target)
public void execute(Connection connection) throws SQLException
execute
in interface Work
SQLException