openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim O'Rourke <jimorourk...@gmail.com>
Subject Re: Problem retrieving a row from the db with a composite key with a date as a part of the key
Date Wed, 29 Jun 2011 14:59:23 GMT
Could it be a timezone difference between the jvm and Postgres server? 

Might also be that your persistent property needs to be annotated with
@Temporal(javax.persistence.DATE) to match the sql column declaration.  



--
View this message in context: http://openjpa.208410.n2.nabble.com/Problem-retrieving-a-row-from-the-db-with-a-composite-key-with-a-date-as-a-part-of-the-key-tp6528286p6529300.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message