static class SchemaGenerator.CollectSqlTarget extends Object implements org.hibernate.tool.schema.spi.Target
Modifier and Type | Field and Description |
---|---|
private List<SchemaGenerator.SqlStatement> |
allSql |
private DbEngine |
dbEngine |
private Dialect |
dialect |
private SchemaGenerator.Mode |
mode |
private int |
numStatements |
Constructor and Description |
---|
CollectSqlTarget() |
CollectSqlTarget(DbEngine dbEngine,
Dialect dialect,
SchemaGenerator.Mode mode) |
Modifier and Type | Method and Description |
---|---|
void |
accept(String sql) |
boolean |
acceptsImportScriptActions() |
int |
getNumStatements() |
List<SchemaGenerator.SqlStatement> |
getSql() |
void |
prepare() |
void |
release() |
private final List<SchemaGenerator.SqlStatement> allSql
private final Dialect dialect
private final DbEngine dbEngine
private final SchemaGenerator.Mode mode
private int numStatements
CollectSqlTarget()
CollectSqlTarget(DbEngine dbEngine, Dialect dialect, SchemaGenerator.Mode mode)
public List<SchemaGenerator.SqlStatement> getSql()
public int getNumStatements()
public void release()
release
in interface org.hibernate.tool.schema.spi.Target
public void prepare()
prepare
in interface org.hibernate.tool.schema.spi.Target
public boolean acceptsImportScriptActions()
acceptsImportScriptActions
in interface org.hibernate.tool.schema.spi.Target
public void accept(String sql)
accept
in interface org.hibernate.tool.schema.spi.Target