public interface ScriptEnhancer
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.
|
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
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 DBMSjava.io.IOException
java.sql.SQLException
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
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 DBMSjava.io.IOException
java.sql.SQLException
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
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 DBMSjava.io.IOException
java.sql.SQLException