cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schröder <Peter.Schroe...@freenet-ag.de>
Subject mysql date
Date Tue, 05 Dec 2006 10:36:15 GMT
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

Mime
View raw message