I am using H2 1.1.102 in embedded mode, and could not insert the date
2042-10-12 in the database.
Using squirrel to connect, and running:

call date '2042-10-12';

resulted in the following error:

Error: Cannot parse date constant 2042-10-12, cause:
java.lang.IllegalArgumentException: DAY_OF_MONTH; SQL statement:
call date '2042-10-12' [90009-101]
SQLState:  90009
ErrorCode: 90009

It works for other dates such as 2041-10-11, 2042-10-13, 2041-10-12
etc. It seems to happen only with this specific date.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to