|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SchemaManagementOptions
A set of options to control the management of database storage.
These are normally provided as additional TJDO-specific properties of
PersistenceManagerFactory.
They can also be set separately on a SchemaManager in order to
provide different behavior when doing "manual" schema management work.
| Method Summary | |
|---|---|
boolean |
getAutoCreateTables()
Returns whether or not to automatically create any missing database objects (tables, constraints, indexes, etc.). |
boolean |
getValidateConstraints()
Returns whether or not to automatically validate the existence of all appropriate foreign key constraints and indexes. |
boolean |
getValidateTables()
Returns whether or not to automatically validate the structure of all database tables to ensure they're compatible with the Java classes. |
void |
setAutoCreateTables(boolean flag)
Sets whether or not to automatically create any missing database objects (tables, constraints, indexes, etc.). |
void |
setValidateConstraints(boolean flag)
Sets whether or not to automatically validate the existence of all appropriate foreign key constraints and indexes. |
void |
setValidateTables(boolean flag)
Sets whether or not to automatically validate the structure of all database tables to ensure they're compatible with the Java classes. |
| Method Detail |
|---|
boolean getValidateTables()
true if tables should be validated.void setValidateTables(boolean flag)
flag - true if tables should be validated.boolean getValidateConstraints()
true if constraints should be validated.void setValidateConstraints(boolean flag)
flag - true if constraints should be validated.boolean getAutoCreateTables()
true if missing objects should be auto-created.void setAutoCreateTables(boolean flag)
flag - true if missing objects should be auto-created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||