Retrival seems to be per specification. i.e., I use OrderBy without any value for column, and the order is by primary key. The problem is that the order of objects/records in database is random. There is no relevance of the generated-id/primary key which is a Long number to the order of the objects in the originall List.
thanks,
Pramod.
[Message sent by forum member 'pramod_patel' (pramod_patel)]
http://forums.java.net/jive/thread.jspa?messageID=211942