Community
Participate
Working Groups
EclipseLink currently only supports create and drop-and-create DDL generation. This feature is to allow creating tables if missing, and modify existing tables to add missing fields required by the model. The goal being to allow testing to reuse existing test data - avoiding the need to drop and create tables and then repopulate data on each time the model changes. This feature could also be used with Extensibility to add columns, potentialy within a PAS Manager (providing a non-JTA datasource).
Created attachment 209986 [details] proposed changes. Test to be uploaded seperately
Created attachment 210333 [details] patch with test cases
Checked in at revision 10787
Created attachment 210871 [details] slight change to what was already checked in This is a slight change to automatically create the table and then look for fields rather than the other way around. This works around an issue with our automated testing where some of the table exist in a different schema: this feature cannot distinguish between different schemas until https://bugs.eclipse.org/bugs/show_bug.cgi?id=367887 is resolved.
Last update was checked into main (2.4) at revision 10995
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink