Issue Details (XML | Word | Printable)

Key: NUCCORE-1127
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Refactor schema persistence properties to have standard naming "datanucleus.schema.XXX"

Created: 16/Feb/14 10:06 AM   Updated: 01/Mar/14 07:39 PM   Resolved: 16/Feb/14 08:22 PM
Component/s: Configuration, Datastore Support, Persistence
Affects Version/s: None
Fix Version/s: 4.0.0.m1


 Description  « Hide
We currently have
datanucleus.autoCreateSchema
datanucleus.autoCreateTables
datanucleus.autoCreateColumns
datanucleus.autoCreateConstraints
datanucleus.validateSchema
etc

but would be better as
datanucleus.schema.autoCreateAll
datanucleus.schema.autoCreateTables
datanucleus.schema.autoCreateColumns
datanucleus.schema.autoCreateConstraints
datanucleus.schema.validateAll
datanucleus.schema.validateTables
datanucleus.schema.validateColumns
datanucleus.schema.validateConstraints

and then we could add on others to cater for "schema evolution", such as
datanucleus.schema.autoDeleteColumns (for when a column exists but is not needed by the current classes)


Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 16/Feb/14 07:14 PM
Also "datanucleus.fixedDatastore" can be removed because it is basically the same thing as "datanucleus.schema.autoCreate" = false.

Andy Jefferson added a comment - 16/Feb/14 08:22 PM
GitHub master makes this change; docs for 4.0 updated