Managing column order when creating EclipseLink tables

I am using EclipseLink with the property "eclipselink.ddl-generation" set to "create-tables". The order of the columns in the created tables seems random. I need columns in a specific order β€” the order in which the fields appear in the Entity class definition.

Can I tell EclipseLink to create columns in the order of the Entity class definition, or can I specify the order of the columns in some other way?

Thanks.

+4
source share
1 answer

There’s nothing to do from EclipseLink. The order of the columns should not matter in a properly normalized database.

+1
source

All Articles