Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Eclipse Link: Create Tables Query

Hi,

 

I am using below property to generate tables and columns in the database.

<property name="eclipselink.ddl-generation" value="create-tables" />

 

 

Tables are columns are getting created correctly. But the order of columns in table is not as expected by me. How set the order of the columns.

 

Ex: I created an EmployeeTable Object with properties ‘empId, empName, empSalary’. But the columns created in the order ‘empId, empSalary, empName’

The expected order is ‘empId, empName, empSalary’

 

Can any one sguuest me on how to get the columns in an expected order.

 

Best Regds,

Venu.G

-------------------------

VENU GATTINENI | Team Lead | JaMochaTech Pvt. Ltd. | Address:#730, 2nd Floor, 3rd Block, Koramangala, Bengaluru-560034 | M: +91 9980515319

 


Back to the top