org.apache.cayenne.access.dbsync
Class CreateIfNoSchemaStrategy
java.lang.Object
org.apache.cayenne.access.dbsync.BaseSchemaUpdateStrategy
org.apache.cayenne.access.dbsync.CreateIfNoSchemaStrategy
- All Implemented Interfaces:
- SchemaUpdateStrategy
public class CreateIfNoSchemaStrategy
- extends BaseSchemaUpdateStrategy
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateIfNoSchemaStrategy
public CreateIfNoSchemaStrategy()
processSchemaUpdate
public void processSchemaUpdate(DataNode dataNode)
throws SQLException
- Specified by:
processSchemaUpdate
in class BaseSchemaUpdateStrategy
- Throws:
SQLException
getNameTablesInDB
protected Map<String,Boolean> getNameTablesInDB(DataNode dataNode)
throws SQLException
- Returns all the table names in database.
- Throws:
SQLException
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.