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.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void |
| DynamicSchemaManager | back to summary |
|---|---|
| public DynamicSchemaManager(DatabaseSession session) | |
| createTables | back to summary |
|---|---|
| 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. | |
| createTables | back to summary |
|---|---|
| public void createTables(boolean generateFKConstraints, DynamicType... entityTypes) | |
| createTables | back to summary |
|---|---|
| public void createTables(boolean generateFKConstraints, Collection<DynamicType> entityTypes) | |