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