Re: PostgreSQL & NULL values

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Oct 12 2005 - 00:17:21 EDT

  • Next message: Mike Kienenberger: "Re: cayenne/src/tests/resources/test-resources cayenne.xml,1.30,1.31 testmap.map.xml,1.52,1.53"

    BTW, I just added a nullable varchar column to the PAINTING test
    table - and all unit tests still pass (with a lot of null inserts
    going on). So your case is somehow different. Let me know if you find
    more info.

    Andrus

    On Oct 11, 2005, at 10:37 PM, Andrus Adamchik wrote:

    > Hmm... it changed, but only for the BLOBs. Can you post a
    > reproducible case, I'll try it out.
    >
    > Andrus
    >
    >
    > On Oct 11, 2005, at 10:23 PM, Kevin Menard wrote:
    >
    >
    >> Hi,
    >>
    >> Did anything change in 1.2 M6 regarding how null values are
    >> treated? After upgrading, I'm getting errors from the PostgreSQL
    >> JDBC driver: "org.postgresql.util.PSQLException: Unknown Types
    >> value". The field in question is a varchar field. If I set the
    >> value to "", I get no exception when inserting. I had no problem
    >> dealing with null values in 1.2 M5.
    >>
    >> --
    >> Kevin



    This archive was generated by hypermail 2.0.0 : Wed Oct 12 2005 - 00:17:23 EDT