Hello,
In My custom finder I am trying to find entities based on some criteria. I want to order by clause in my where condition that I am specifying in finderhelper class, though I am specifying order by clause in where condition, my enumeration contains the objects in the same order in which it is present in Database.
Can any body help me out.....
My Custom findby static variable in FinderHelperClass is as follows...
public static final
String findAllServicesQueryString = "SELECT * FROM CUSTOMER T1 WHERE 1 = 1 order by T1.SEQUENCENO"
Thanks in Advance