public class FileBasedScriptEnhancer extends Object implements ScriptEnhancer
prolog/[INSERT|DELETE]/<TABLE>.sqlepilog/[INSERT|DELETE]/<TABLE>.sql| Constructor and Description |
|---|
FileBasedScriptEnhancer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComments(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds nothing.
|
void |
addEpilog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds epilogs.
|
void |
addProlog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds prologs.
|
public void addComments(Writer script, ScriptType scriptType, Session session, DBMS targetDBMSConfiguration, EntityGraph entityGraph, Set<Table> progress, ExecutionContext executionContext) throws IOException, SQLException
addComments 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
addEpilog 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
addProlog 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