vert-x / mod-mysql-postgresql

Vert.x 2.x is deprecated - use instead
http://vertx.io/docs/vertx-mysql-postgresql-client/java/
Apache License 2.0
49 stars 17 forks source link

Value 0 for monthOfYear must be in the range [1,12] #21

Closed majimboo closed 10 years ago

majimboo commented 10 years ago

Is it possible to ignore this error?

Cannot parse "0000-00-00": Value 0 for monthOfYear must be in the range [1,12]
Narigo commented 10 years ago

Sorry for the late reply here. I guess this comes directly from the database driver and is disallowed there...

diega commented 10 years ago

fyi, I opened a bug about this against postgres-async here

Narigo commented 10 years ago

Should be fixed with the next release 0.3.0, that uses a new version of Mauricios driver

Narigo commented 10 years ago

Released 0.3.0 - please test with the new version and reopen, if this is still an issue - thanks!

Narigo commented 10 years ago

FYI, we've added a test for MySQL now, that these values should work like described in the linked issue: https://github.com/vert-x/mod-mysql-postgresql/blob/master/src/test/scala/io/vertx/asyncsql/test/mysql/MySqlTest.scala#L53-L64