org.apache.cayenne.dba.h2
Class H2MergerFactory

java.lang.Object
  extended by org.apache.cayenne.merge.MergerFactory
      extended by org.apache.cayenne.dba.h2.H2MergerFactory

public class H2MergerFactory
extends MergerFactory

Since:
3.0

Constructor Summary
H2MergerFactory()
           
 
Method Summary
 MergerToken createSetAllowNullToDb(DbEntity entity, DbAttribute column)
           
 MergerToken createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)
           
 MergerToken createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)
           
 
Methods inherited from class org.apache.cayenne.merge.MergerFactory
createAddColumnToDb, createAddColumnToModel, createAddRelationshipToDb, createAddRelationshipToModel, createCreateTableToDb, createCreateTableToModel, createDropColumnToDb, createDropColumnToModel, createDropRelationshipToDb, createDropRelationshipToModel, createDropTableToDb, createDropTableToModel, createSetAllowNullToModel, createSetColumnTypeToModel, createSetNotNullToDb, createSetNotNullToModel, createSetPrimaryKeyToModel, createSetValueForNullToDb
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

H2MergerFactory

public H2MergerFactory()
Method Detail

createSetColumnTypeToDb

public MergerToken createSetColumnTypeToDb(DbEntity entity,
                                           DbAttribute columnOriginal,
                                           DbAttribute columnNew)
Overrides:
createSetColumnTypeToDb in class MergerFactory

createSetAllowNullToDb

public MergerToken createSetAllowNullToDb(DbEntity entity,
                                          DbAttribute column)
Overrides:
createSetAllowNullToDb in class MergerFactory

createSetPrimaryKeyToDb

public MergerToken createSetPrimaryKeyToDb(DbEntity entity,
                                           Collection<DbAttribute> primaryKeyOriginal,
                                           Collection<DbAttribute> primaryKeyNew,
                                           String detectedPrimaryKeyName)
Overrides:
createSetPrimaryKeyToDb in class MergerFactory


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.