public abstract class SchemaOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected ConfigurationExt |
configuration
The configuration.
|
protected com.whitestein.lsps.engine.sharedrecord.ddl.SuppliedConnectionProviderConnectionHelper |
connectionHelper
The connection helper.
|
protected org.hibernate.dialect.Dialect |
dialect
The database dialect.
|
protected List<Exception> |
exceptions
The resulting list of exceptions.
|
Modifier | Constructor and Description |
---|---|
protected |
SchemaOperation(com.whitestein.lsps.model.sharedrecord.SharedRecordConfiguration cfg)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
compatibleTypes(int type1,
int type2)
Returns true if the given SQL types are compatible.
|
abstract void |
execute()
Executes the schema operation.
|
List<Exception> |
getExceptions()
Returns a List of all Exceptions which occured during the export.
|
Set<String> |
getSystemEntytyNames()
Returns names of system reflection entities
|
protected Map<org.hibernate.mapping.Table,List<String>> |
getTablesAndFksToUpdate()
Returns a list of tables to update.
|
protected Iterator<org.hibernate.id.PersistentIdentifierGenerator> |
iterateGenerators()
Returns an iterator of all generators.
|
protected final com.whitestein.lsps.engine.sharedrecord.ddl.SuppliedConnectionProviderConnectionHelper connectionHelper
protected final ConfigurationExt configuration
protected final org.hibernate.dialect.Dialect dialect
protected SchemaOperation(com.whitestein.lsps.model.sharedrecord.SharedRecordConfiguration cfg)
cfg
- public List<Exception> getExceptions()
public abstract void execute()
protected Map<org.hibernate.mapping.Table,List<String>> getTablesAndFksToUpdate()
protected Iterator<org.hibernate.id.PersistentIdentifierGenerator> iterateGenerators() throws org.hibernate.MappingException
org.hibernate.MappingException
protected boolean compatibleTypes(int type1, int type2)
type1
- type2
- Types
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.