Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

Class DynamicSchemaManager

  extended by
      extended by

public class DynamicSchemaManager
extends SchemaManager

Extended SchemaManager to handle the creation of tables for dynamic types. TODO: Handle the case where the provided session uses an external transaction controller or is from an external connection pool. In these cases a custom direct connection must be created cloning the minimal state needed from the primary session.

EclipseLink 1.2
dclarke, mnorman

Field Summary


Fields inherited from class
createSchemaWriter, createSQLFiles, defaultTableCreator, dropSchemaWriter, FAST_TABLE_CREATOR, session


Constructor Summary
DynamicSchemaManager(DatabaseSession session)


Method Summary
 void createTables(boolean generateFKConstraints, java.util.Collection<DynamicType> entityTypes)
 void createTables(boolean generateFKConstraints, DynamicType... entityTypes)
 void createTables(DynamicType... entityTypes)
          Create the database tables for one or more entityTypes.


Methods inherited from class
alterSequence, appendToDDLWriter, appendToDDLWriter, buildFieldTypes, buildSequenceDefinition, closeDDLWriter, closeDDLWriter, createConstraints, createDefaultTables, createForeignConstraints, createObject, createOrReplaceSequences, createOrReplaceSequences, createSequences, createUniqueConstraints, dropConstraints, dropObject, dropTable, finalize, generateStoredProcedures, generateStoredProcedures, generateStoredProceduresAndAmendmentClass, generateStoredProceduresAndAmendmentClass, getAccessor, getAllColumnNames, getAllColumnNames, getAllTableNames, getAllTableNames, getColumnInfo, getDefaultTableCreator, getDropSchemaWriter, getSession, getTableInfo, outputCreateDDLToFile, outputCreateDDLToWriter, outputDDLToDatabase, outputDDLToFile, outputDDLToWriter, outputDropDDLToFile, outputDropDDLToWriter, replaceDefaultTables, replaceDefaultTables, replaceObject, replaceSequences, setCreateSQLFiles, setSession, shouldWriteToDatabase


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


Constructor Detail


public DynamicSchemaManager(DatabaseSession session)

Method Detail


public void createTables(DynamicType... entityTypes)
Create the database tables for one or more entityTypes. TODO: At present this method will create all tables that do not exist. It needs to be made specific to the entityTypes.
entityTypes -


public void createTables(boolean generateFKConstraints,
                         DynamicType... entityTypes)


public void createTables(boolean generateFKConstraints,
                         java.util.Collection<DynamicType> entityTypes)

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.