Community
Participate
Working Groups
Build Identifier: svn trunk (2.2.0), r8499 If you create DDL multiple times it results in different order for the create statements every time. This makes it very difficult to track what has actually changed. Reproducible: Always Steps to Reproduce: 1. Create DDL 2. Copy it to another name 2. Create DDL again 3. diff the backup copy and the new version to see the changed order
Created attachment 183118 [details] Simple patch to fix the problem A quick patch to fix the problem. I think the most important change is to call getOrderedDescriptors and change tableMap to an ordered map. I'm not sure if rest of the HashMap --> LinkedHashMap changes are really needed (I would guess they are but didn't analyze that far).
Checked into Trunk Tested Manually and with JPA LRG and DDL Generation tests Reviewed by: Tom Ware - reviewed user submitted patch
moving ipLog flag to patch
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink