Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

At 13:03 15/12/2012 -0800, David Noname wrote:
The subject error [Value '0000-00-00' can not be represented as java.sql.Date] prevents display of a table which does contain dates.

I imagine you have a reason for this strange requirement, but I confess I'd be slightly worried if 0000-00-00 were to be acceptable as a valid date. There is no zeroth of any month before its first day, there is no month represented as zero preceding January in any year, and (contrary to popular impression around the change of millennium) there was no year zero between 1 BCE and 1 CE.

Wouldn't a better solution be to construct your database so that you didn't need to represent this thrice-inappropriate date value?

Brian Barker

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.