datanucleus-rdbms
datanucleus-rdbms copied to clipboard
Split RDBMSManager ClassAdder into separate class(es) to modularise schema management
The RDBMSManager schema management process is embodied in the "ClassAdder" process. This operates in its own transaction using a separate connection. The structure of RDBMSManager is overly complex as a result. We should simply provide a separate process giving it access to the key schema information, and have methods to do specific things
- add class/classes to persistence
- delete class from persistence
- update a mapping in the datstore with new columns e.g when a new implementation of an interface is found.