openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: [jira] Created: (OPENJPA-1655) @OrderBy on a Timestamp field fails with Postgres jdbc4 driver
Date Mon, 10 May 2010 14:40:05 GMT

Hi
> It seems to be sorting it on another field altogether. It's not the id
> order. 

@OrderBy annotation on a field x is not meant sort query result on field
value of x. The annotation imposes ordering on collection-valued
relationship elements.

Can you please post the query that seemed to *not* sort on the timestamp
field?




-----
Pinaki 
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/jira-Created-OPENJPA-1655-OrderBy-on-a-Timestamp-field-fails-with-Postgres-jdbc4-driver-tp5024311p5030924.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message