Re: Oracle TIMESTAMP getObject(index) returns oracle.sql.TIMESTAMP

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Mar 02 2004 - 00:03:16 EST

  • Next message: Andrus Adamchik: "Re: Oracle TIMESTAMP getObject(index) returns oracle.sql.TIMESTAMP"

    Hi Mike,

    Thanks for doing all the research.

    On Mar 1, 2004, at 11:32 PM, Mike Kienenberger wrote:
    > Is there a reason that Cayenne doesn't use getTimestamp() instead of
    > getObject() for date objects?
    >
    > This looks like it could be fixed for all drivers for all time by
    > changing
    > .getObject(index) to .getTimestamp(index) for all occurrences in
    > org.objectstyle.cayenne.access.types.UtilDateType.

    I will fix that... actually we will need a switch checking for other
    JDBC date types and calling an appropriate method on the driver.

    Thanks
    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Mar 02 2004 - 00:03:20 EST