cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Re: Null Date is returned with 01.01.1970
Date Thu, 05 May 2011 12:31:45 GMT
On 5/05/11 10:22 PM, Christian Grobmeier wrote:
> 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?

Look in the options you can pass to the JDBC connector for mysql. You can either have mysql
return proper NULL dates or these unix time zero dates which is how it internally stores NULL
dates.

Ari

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Mime
View raw message