org.unitils.dbmaintainer.script.impl
Class OracleScriptParser.OracleStatementBuilder
java.lang.Object
org.unitils.dbmaintainer.script.StatementBuilder
org.unitils.dbmaintainer.script.impl.OracleScriptParser.OracleStatementBuilder
- Enclosing class:
- OracleScriptParser
public static class OracleScriptParser.OracleStatementBuilder
- extends StatementBuilder
A statement builder with special handling for Oracle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleScriptParser.OracleStatementBuilder
public OracleScriptParser.OracleStatementBuilder()
getTrailingSeparatorCharsToRemove
public char[] getTrailingSeparatorCharsToRemove()
- Overridden to add a forward slash (/) as a separator.
- Overrides:
getTrailingSeparatorCharsToRemove
in class StatementBuilder
- Returns:
- The trailing chars, not null
createStatement
public String createStatement()
- Overridden to remove carriage returns from statements.
Oracle does not handle these characters correctly.
- Overrides:
createStatement
in class StatementBuilder
- Returns:
- The resulting statement, null if no statement is left
Copyright © 2011. All Rights Reserved.