|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.tools.schemaframework.SchemaManager
org.eclipse.persistence.tools.schemaframework.DynamicSchemaManager
public class DynamicSchemaManager
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.
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.tools.schemaframework.SchemaManager |
---|
createSchemaWriter, createSQLFiles, defaultTableCreator, dropSchemaWriter, FAST_TABLE_CREATOR, session |
Constructor Summary | |
---|---|
DynamicSchemaManager(DatabaseSession session)
|
Method Summary | |
---|---|
void |
createTables(boolean generateFKConstraints,
DynamicType... entityTypes)
|
void |
createTables(DynamicType... entityTypes)
Create the database tables for one or more entityTypes. |
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)
entityTypes
- public void createTables(boolean generateFKConstraints, DynamicType... entityTypes)
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |