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

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Mar 02 2004 - 02:30:58 EST

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

    > 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.

    The fix is checked in to CVS and will be a part of March 2 nightly
    build.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Mar 02 2004 - 02:31:06 EST