cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject Null Date is returned with 01.01.1970
Date Thu, 05 May 2011 12:22:48 GMT
Hey all,

i have NULL in the database (MySQL).

If I select it, it will return
endTime=Thu Jan 01 00:00:00 CET 1970

This is taken from the values map in the CayenneDataObject M2 Line 193 - 195.

 public Object readPropertyDirectly(String propName) {
        return values.get(propName);
    }


It seems, the values are already filled with the dateobject. But I
would expect and appreciate null.

Is there a chance to change this behaviour?

I could not easily find the place where this list is filled

Thanks
Christian

Mime
View raw message