org.apache.cayenne.access.dbsync
Class BaseSchemaUpdateStrategy
java.lang.Object
org.apache.cayenne.access.dbsync.BaseSchemaUpdateStrategy
- All Implemented Interfaces:
- SchemaUpdateStrategy
- Direct Known Subclasses:
- CreateIfNoSchemaStrategy, ThrowOnPartialSchemaStrategy
public abstract class BaseSchemaUpdateStrategy
- extends Object
- implements SchemaUpdateStrategy
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
run
protected volatile boolean run
threadRunInProgress
protected volatile ThreadLocal<Boolean> threadRunInProgress
BaseSchemaUpdateStrategy
public BaseSchemaUpdateStrategy()
updateSchema
public void updateSchema(DataNode dataNode)
throws SQLException
- Specified by:
updateSchema
in interface SchemaUpdateStrategy
- Throws:
SQLException
- Since:
- 3.0
processSchemaUpdate
protected abstract void processSchemaUpdate(DataNode dataNode)
throws SQLException
- Throws:
SQLException
- Since:
- 3.0
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.