public class HelperTableEnhancer extends Object implements ScriptEnhancer
| Constructor and Description |
|---|
HelperTableEnhancer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComments(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds comments to the script.
|
void |
addEpilog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds comments at bottom of the script.
|
void |
addProlog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds statements at top of the script.
|
public void addComments(Writer script, ScriptType scriptType, Session session, DBMS targetDBMSConfiguration, EntityGraph entityGraph, Set<Table> progress, ExecutionContext executionContext) throws IOException, SQLException
ScriptEnhanceraddComments in interface ScriptEnhancerscript - to write into the scriptscriptType - the type of the scriptsession - for executing SQL-statements in the source-DBtargetDBMSConfiguration - configuration of the target DBMSprogress - the export progressIOExceptionSQLExceptionpublic void addEpilog(Writer script, ScriptType scriptType, Session session, DBMS targetDBMSConfiguration, EntityGraph entityGraph, Set<Table> progress, ExecutionContext executionContext) throws IOException, SQLException
ScriptEnhanceraddEpilog in interface ScriptEnhancerscript - to write into the scriptscriptType - the type of the scriptsession - for executing SQL-statements in the source-DBtargetDBMSConfiguration - configuration of the target DBMSprogress - the export progressIOExceptionSQLExceptionpublic void addProlog(Writer script, ScriptType scriptType, Session session, DBMS targetDBMSConfiguration, EntityGraph entityGraph, Set<Table> progress, ExecutionContext executionContext) throws IOException, SQLException
ScriptEnhanceraddProlog in interface ScriptEnhancerscript - to write into the scriptscriptType - the type of the scriptsession - for executing SQL-statements in the source-DBtargetDBMSConfiguration - configuration of the target DBMSprogress - the export progressIOExceptionSQLException