org.unitils.dbmaintainer.script.impl
Class OracleScriptParser
java.lang.Object
org.unitils.dbmaintainer.script.impl.DefaultScriptParser
org.unitils.dbmaintainer.script.impl.OracleScriptParser
- All Implemented Interfaces:
- ScriptParser
public class OracleScriptParser
- extends DefaultScriptParser
A parser that can handle Oracle specific things like PL/SQL and a forward slash (/) as separator.
- Author:
- Tim Ducheyne, Filip Neven
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleScriptParser
public OracleScriptParser()
createNormalParsingState
protected NormalParsingState createNormalParsingState()
- Description copied from class:
DefaultScriptParser
- Factory method for the normal parsing state.
- Overrides:
createNormalParsingState
in class DefaultScriptParser
- Returns:
- an
OracleNormalParsingState
that parses PL/SQL blocks correctly.
createStatementBuilder
protected StatementBuilder createStatementBuilder()
- Factory method for the statement builder. Overridden to use the OracleStatementBuilder.
- Overrides:
createStatementBuilder
in class DefaultScriptParser
- Returns:
- The statement builder, not null
Copyright © 2011. All Rights Reserved.