|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.migration.sql.SqlScript
com.googlecode.flyway.core.dbsupport.oracle.OracleSqlScript
public class OracleSqlScript
SqlScript supporting Oracle-specific PL/SQL constructs.
| Constructor Summary | |
|---|---|
OracleSqlScript(java.lang.String sqlScriptSource,
PlaceholderReplacer placeholderReplacer)
Creates a new sql script from this source with these placeholders to replace. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
changeDelimiterIfNecessary(java.lang.String statement,
java.lang.String line,
java.lang.String delimiter)
Checks whether this line in the sql script indicates that the statement delimiter will be different from the current one. |
| Methods inherited from class com.googlecode.flyway.core.migration.sql.SqlScript |
|---|
execute, getSqlStatements, isCommentDirective, isDelimiterChangeExplicit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleSqlScript(java.lang.String sqlScriptSource,
PlaceholderReplacer placeholderReplacer)
sqlScriptSource - The sql script as a text block with all placeholders still present.placeholderReplacer - The placeholder replacer to apply to sql migration scripts.
java.lang.IllegalStateException - Thrown when the script could not be read from this resource.| Method Detail |
|---|
protected java.lang.String changeDelimiterIfNecessary(java.lang.String statement,
java.lang.String line,
java.lang.String delimiter)
SqlScript
changeDelimiterIfNecessary in class SqlScriptstatement - The statement assembled so far.line - The line to analyse.delimiter - The current delimiter.
null for no delimiter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||