static class SchemaGenerator.CollectSqlTarget extends java.lang.Object implements org.hibernate.tool.schema.spi.ScriptTargetOutput, org.hibernate.tool.schema.spi.SourceDescriptor, org.hibernate.tool.schema.spi.TargetDescriptor, org.hibernate.tool.schema.spi.ExecutionOptions
Modifier and Type | Field and Description |
---|---|
private java.util.List<SchemaGenerator.SqlStatement> |
allSql |
private java.util.Map<java.lang.Object,java.lang.Object> |
config |
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,
java.sql.Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
accept(java.lang.String sql) |
java.util.Map<?,?> |
getConfigurationValues() |
org.hibernate.tool.schema.spi.ExceptionHandler |
getExceptionHandler() |
int |
getNumStatements() |
org.hibernate.tool.schema.spi.ScriptSourceInput |
getScriptSourceInput() |
org.hibernate.tool.schema.spi.ScriptTargetOutput |
getScriptTargetOutput() |
org.hibernate.tool.schema.SourceType |
getSourceType() |
java.util.List<SchemaGenerator.SqlStatement> |
getSql() |
java.util.EnumSet<org.hibernate.tool.schema.TargetType> |
getTargetTypes() |
void |
prepare() |
void |
release() |
boolean |
shouldManageNamespaces() |
private final java.util.List<SchemaGenerator.SqlStatement> allSql
private final Dialect dialect
private final DbEngine dbEngine
private final java.util.Map<java.lang.Object,java.lang.Object> config
private final SchemaGenerator.Mode mode
private int numStatements
CollectSqlTarget()
CollectSqlTarget(DbEngine dbEngine, Dialect dialect, SchemaGenerator.Mode mode, java.sql.Connection connection)
public java.util.List<SchemaGenerator.SqlStatement> getSql()
public int getNumStatements()
public void release()
release
in interface org.hibernate.tool.schema.spi.ScriptTargetOutput
public void prepare()
prepare
in interface org.hibernate.tool.schema.spi.ScriptTargetOutput
public void accept(java.lang.String sql)
accept
in interface org.hibernate.tool.schema.spi.ScriptTargetOutput
public org.hibernate.tool.schema.spi.ScriptSourceInput getScriptSourceInput()
getScriptSourceInput
in interface org.hibernate.tool.schema.spi.SourceDescriptor
public org.hibernate.tool.schema.SourceType getSourceType()
getSourceType
in interface org.hibernate.tool.schema.spi.SourceDescriptor
public java.util.EnumSet<org.hibernate.tool.schema.TargetType> getTargetTypes()
getTargetTypes
in interface org.hibernate.tool.schema.spi.TargetDescriptor
public org.hibernate.tool.schema.spi.ScriptTargetOutput getScriptTargetOutput()
getScriptTargetOutput
in interface org.hibernate.tool.schema.spi.TargetDescriptor
public java.util.Map<?,?> getConfigurationValues()
getConfigurationValues
in interface org.hibernate.tool.schema.spi.ExecutionOptions
public boolean shouldManageNamespaces()
shouldManageNamespaces
in interface org.hibernate.tool.schema.spi.ExecutionOptions
public org.hibernate.tool.schema.spi.ExceptionHandler getExceptionHandler()
getExceptionHandler
in interface org.hibernate.tool.schema.spi.ExecutionOptions