Hello,
there are two properties calculated with a formula in my mapping (.hbm) file.
All of the other properties in this file map directly to table columns.
The problem is that in the SQL queries generated by Hibernate the formula
calculated properties are placed at the end of the list of columns (despite
the fact that in the .hbm file they are in the middle of the property
list).
Is it possible to force Hibernate to put the properties in the generated
SQL query in exactly the same order as they apear in the .hbm file?
Thanks in advance for any help.
Greetings,
Tomek.
|