openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariusz Lipinski <>
Subject How to use @OrderColumn values in SELECT
Date Mon, 04 Jun 2007 10:01:58 GMT


OpenJPA adds an extension to JPA spec allowing to persist List order in
additional database table column. It goes like this:

   private List<Request> requests;

But is there a way I could use this value (value of ORD column) in SELECT
then? Eg. I would like to select all the requests for specific set of people
but only those that are on the first position on their requests list.
View this message in context:
Sent from the open-jpa-dev mailing list archive at

View raw message