Hi Ravi,

You should be able to map the column to a java.util.Date field. Then, use a transient java.util.Calendar to manipulate the date object.

Best,

Craig

On Mar 12, 2008, at 3:35 PM, Ravic wrote:


Hi,
Can anyone let me know how to extract date part from Timestamp in OpenJPA
against Oracle 10g?
I was wondering if there is any function like trunc and to_date in OpenJPA.

Regards,
Ravi

--
View this message in context: 
http://www.nabble.com/Extract-date-from-Timestamp-column-in-OpenJPA-tp16015057p16015057.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to