liquibase.sqlgenerator.core
Class InsertOrUpdateGeneratorOracle

java.lang.Object
  extended by liquibase.sqlgenerator.core.AbstractSqlGenerator<InsertOrUpdateStatement>
      extended by liquibase.sqlgenerator.core.InsertOrUpdateGenerator
          extended by liquibase.sqlgenerator.core.InsertOrUpdateGeneratorOracle
All Implemented Interfaces:
PrioritizedService, SqlGenerator<InsertOrUpdateStatement>

public class InsertOrUpdateGeneratorOracle
extends InsertOrUpdateGenerator


Field Summary
 
Fields inherited from interface liquibase.sqlgenerator.SqlGenerator
PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
InsertOrUpdateGeneratorOracle()
           
 
Method Summary
protected  String getElse(Database database)
           
protected  String getPostUpdateStatements()
           
protected  String getRecordCheck(InsertOrUpdateStatement insertOrUpdateStatement, Database database, String whereClause)
           
 boolean supports(InsertOrUpdateStatement statement, Database database)
          Does this generator support the given statement/database combination? Do not validate the statement with this method, only return if it can suppot it.
 
Methods inherited from class liquibase.sqlgenerator.core.InsertOrUpdateGenerator
generateSql, getInsertStatement, getPriority, getUpdateStatement, getWhereClause, validate
 
Methods inherited from class liquibase.sqlgenerator.core.AbstractSqlGenerator
requiresUpdatedDatabaseMetadata, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertOrUpdateGeneratorOracle

public InsertOrUpdateGeneratorOracle()
Method Detail

supports

public boolean supports(InsertOrUpdateStatement statement,
                        Database database)
Description copied from interface: SqlGenerator
Does this generator support the given statement/database combination? Do not validate the statement with this method, only return if it can suppot it.

Specified by:
supports in interface SqlGenerator<InsertOrUpdateStatement>
Overrides:
supports in class AbstractSqlGenerator<InsertOrUpdateStatement>

getRecordCheck

protected String getRecordCheck(InsertOrUpdateStatement insertOrUpdateStatement,
                                Database database,
                                String whereClause)
Specified by:
getRecordCheck in class InsertOrUpdateGenerator

getElse

protected String getElse(Database database)
Specified by:
getElse in class InsertOrUpdateGenerator

getPostUpdateStatements

protected String getPostUpdateStatements()
Overrides:
getPostUpdateStatements in class InsertOrUpdateGenerator


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.