|
Re: composite key order [message #789189 is a reply to message #787660] |
Thu, 02 February 2012 18:06 |
|
EclipseLink's DDL generation does not allow the control of the order of the columns, nor is there anything in JPA for this.
DDL generation is normally for rapid prototyping, so if you are concerned about very specific things for production, you are probably best off using your own DDL scripts.
Does it really matter the order of the columns? I would think the database would not care, or would reorder them to be optimal for its purposes.
You could log an enhancement to have some sort of SessionEvent raised for DDL generation that would allow you to control the field order, and other specific things.
Or possible log a bug to have the class field order to be attempted to be respected to the column order.
James : Wiki : Book : Blog : Twitter
|
|
|
Powered by
FUDForum. Page generated in 0.02768 seconds