Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class org.apache.cayenne.access.dbsync.BaseSchemaUpdateStrategy
`run, threadRunInProgress`

Constructor Summary
`CreateIfNoSchemaStrategy()`

Method Summary
`protected Map<String,Boolean>` | `getNameTablesInDB(DataNode dataNode)` Returns all the table names in database.
`protected void` | `processSchemaUpdate(DataNode dataNode)`

Methods inherited from class org.apache.cayenne.access.dbsync.BaseSchemaUpdateStrategy
`updateSchema`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CreateIfNoSchemaStrategy

    public CreateIfNoSchemaStrategy()

Method Detail

### processSchemaUpdate

    protected 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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