posted 13 years ago
Hi.,
I have a column name say USER IMAGE NAME. How to use this spaced column name in orderby attribute, to get sorted in descending order.
<map name="images" table="`USER IMAGE`" order-by="`USER IMAGE NAME` desc">
<key column="`USER ID`"/>
<index column="`USER IMAGE NAME`" type="string"/>
<element type="string" column="`USER IMAGE PATH`"/>
</map>
The code -- order-by="USER IMAGE NAME desc" not works.