Date mapping in the tests [Re: Postgres adaptor]

From: Andrus (andru..bjectstyle.org)
Date: Thu Feb 06 2003 - 00:21:21 EST

  • Next message: Holger Hoffstätte: "Re: Constraint handling messed up?"

    Done.

    In the process I identified a few minor issues with Date handling (like
    Modeler dropdown doesn't have java.util.Date even though Cayenne will
    support its mapping to any of the sql types). Will work on this later.

    Andrus

    At 04:57 AM 2/6/2003 +0100, Dirk Olmes wrote:
    >>>I tried to play around with different mappings e.g. map TIME to
    >>>timestamp in the database etc. but still no success. The Unit Tests keep
    >>>failing (I'm still looking into details).
    >>>
    >>>So I guess it comes down to the question if we'll fix the unit tests and
    >>>who'll do it
    >>I volunteer to look at this.
    >
    >Good. Just let me know when you're ready to run the testsuite against
    >PostgreSQL.
    >
    >>But if we make DATE_OF_BIRTH to be a DATE (as it should be), the next
    >>logical step is to add more entities with TIME and TIMESTAMP columns just
    >>to test how this works with various databases. I guess I can create a
    >>separate entity with all 3 types of columns present.
    >
    >Don't forget EXHIBIT's opening_date and closing_date which were TIME so
    >far. I guess this is wrong as well. They could be timestamps ...
    >
    >-dirk



    This archive was generated by hypermail 2.0.0 : Thu Feb 06 2003 - 00:21:43 EST