Hi, I wasnt able to find a previous thread that answers this although it does sound a bit familiar to me...feel free to refer me to a prior thread if Im repeating...
My goal is to be able to be able to persist a Collection of data in a particular order (and maintain that order when I retrieve it) and Im hoping that someone may be able to tell me if I am going about this the correct way. For example, if I have a list B-C-A, I want to persist it and then later retrieve that list in the same order. The data itself isnt something I can just add an "order by" clause to as the order is more time dependent. Ive used an orm.xml and the ReverseMappingTool to generate my code, but even when I change the default collection implementation to use an ordered or sorted collection, I dont get the expected results. Perhaps Im just implementing the collection usage wrong or this is a feature not intended to be supported in JPA? Id rather not modify my database schema but so far thats where I feel like this is leading me. Any suggestions? Thanks, in advance, for any help you can offer. Andrea ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ