mysql date

From: Peter Schröder (Peter.Schroede..reenet-ag.de)
Date: Tue Dec 05 2006 - 05:36:15 EST

  • Next message: Lothar Krenzien: "how does cayenne handle java.util.date values ?"

    hi there,

    first of all the bug-tracking link on page http://incubator.apache.org/cayenne/how-can-i-help.html is broken :-( but i found it through google.

    but i didnt find an issue about my problem:

    we have a lot of old data stored in our mysql-database. there are lots of date-fields with date of '0000-00-00 00:00:00' (which should in deed be 'null') which cause cayenne to fail on fetching data-objects, cause it cant convert the date: Value '0000-00-00' can not be represented as java.sql.Timestamp.
    do i have to update all these fields to null, so that cayenne can work properly?

    kind regards
    peter



    This archive was generated by hypermail 2.0.0 : Tue Dec 05 2006 - 05:37:00 EST