Re: Postgres adaptor

From: Dirk Olmes (dirk.olme..mx.de)
Date: Fri Feb 07 2003 - 11:52:47 EST

  • Next message: Andrus Adamchik: "Re: Postgres adaptor"

    Andrus wrote:
    >> 2. Re-map all Date columns to be java.util.Date on the Java side
    >> (regrdless of what they are in DbEntity)

    > Ok, just implemented all the items below + reverse engineering Java
    > dates as java.util.Date, no matter what the underlying column is. Now
    > Cayenne should be much more consistent in Date handling.

    Err, could you please describe in short what exactly you did? It seems
    that java.util.Date will now be passed right through to the JDBC driver
    from the mapping layer.

    If that's the case, I'm afraid the postgresql JDBC driver won't be able
    to handle this. That's o.k., I can provide a set of ExtendedType
    implementation to handle the conversion to the various java.sql Date types.

    This fuzzing around with Dates makes me go crazy :-(

    -dirk (only one error and 12 failures left)



    This archive was generated by hypermail 2.0.0 : Fri Feb 07 2003 - 11:54:23 EST