Re: Postgres adaptor

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Feb 06 2003 - 10:09:38 EST

  • Next message: Andrus Adamchik: "Re: Constraint handling messed up?"

    I agree. My earlier note somewhat mentioned that. I will do a few things
    tonight:

    1. Add "java.util.Date" to the types dropdown in CayenneModeler
    2. Re-map all Date columns to be java.util.Date on the Java side
    (regrdless of what they are in DbEntity)
    3. Create a separate test table that tests all kinds of possible Date
    mappings.

    Andrus

    >
    >> >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.
    >
    > I just updated and think something went wrong..is it really OK to have
    > the .sql.* classes on the object level? I realize that date/time
    > handling is terrible in Java but the last thing I want is having DB data
    > types in my object model. This just pushes manual conversion work
    > between e.g. util.Date and sql.Date into the application space!
    >
    > Holger



    This archive was generated by hypermail 2.0.0 : Thu Feb 06 2003 - 10:09:39 EST