java.util.Date & StoredProcedure

From: Pirola Davide (davide.pirol..tin.it)
Date: Tue Feb 28 2006 - 11:47:45 EST

  • Next message: Cris Daniluk: "Re: java.util.Date & StoredProcedure"

    Hi Andrus,
    i have a problem with a Date returned form a Oracle cursor in a Stored Procedure.
    I correctly access to data in the cursor, but when i get the value of a Date field, this value haven't the hour/minute/second... only day/month/year.
    I have modified the obj-entity (datamap.xml) in order to map my date field to a java.sql.Timestamp, but cayenne still return me a java.util.Date.
    You can confirm me that also with Stored procedure the type written in the obj-idenity is the one that is returned... or there is a different policy in this case?

    Thank's
    Davide



    This archive was generated by hypermail 2.0.0 : Tue Feb 28 2006 - 11:47:47 EST