public interface ScriptEnhancer
| 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.
|
void addComments(Writer script, ScriptType scriptType, Session session, DBMS targetDBMSConfiguration, EntityGraph entityGraph, Set<Table> progress, ExecutionContext executionContext) throws IOException, SQLException
script - to write into the scriptscriptType - the type of the scriptsession - for executing SQL-statements in the source-DBprogress - the export progresstargetDBMSConfiguration - configuration of the target DBMSIOExceptionSQLExceptionvoid addProlog(Writer script, ScriptType scriptType, Session session, DBMS targetDBMSConfiguration, EntityGraph entityGraph, Set<Table> progress, ExecutionContext executionContext) throws IOException, SQLException
script - to write into the scriptscriptType - the type of the scriptsession - for executing SQL-statements in the source-DBprogress - the export progresstargetDBMSConfiguration - configuration of the target DBMSIOExceptionSQLExceptionvoid addEpilog(Writer script, ScriptType scriptType, Session session, DBMS targetDBMSConfiguration, EntityGraph entityGraph, Set<Table> progress, ExecutionContext executionContext) throws IOException, SQLException
script - to write into the scriptscriptType - the type of the scriptsession - for executing SQL-statements in the source-DBprogress - the export progresstargetDBMSConfiguration - configuration of the target DBMSIOExceptionSQLException