public class HelperTableEnhancer extends java.lang.Object implements ScriptEnhancer
| Constructor and Description |
|---|
HelperTableEnhancer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComments(java.io.Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
java.util.Set<Table> progress,
ExecutionContext executionContext)
Adds comments to the script.
|
void |
addEpilog(java.io.Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
java.util.Set<Table> progress,
ExecutionContext executionContext)
Adds comments at bottom of the script.
|
void |
addProlog(java.io.Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
java.util.Set<Table> progress,
ExecutionContext executionContext)
Adds statements at top of the script.
|
public void addComments(java.io.Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
java.util.Set<Table> progress,
ExecutionContext executionContext)
throws java.io.IOException,
java.sql.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 progressjava.io.IOExceptionjava.sql.SQLExceptionpublic void addEpilog(java.io.Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
java.util.Set<Table> progress,
ExecutionContext executionContext)
throws java.io.IOException,
java.sql.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 progressjava.io.IOExceptionjava.sql.SQLExceptionpublic void addProlog(java.io.Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
java.util.Set<Table> progress,
ExecutionContext executionContext)
throws java.io.IOException,
java.sql.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 progressjava.io.IOExceptionjava.sql.SQLException