Forum Discussion
Some info I found:
Here are two simple and short solution which could resolve this error for you.
- You could possibly change your database schema, to allow NULL values.
UPDATE table SET datefield = NULL WHERE datefield = ‘0000-00-00 00:00:00’;
- In your datasource configuration, you can edit JDBC URL by setting a parameter called ‘zeroDateTimeBehavior’ to ‘convertToNull’.
jdbc:mysql://localhost:3306/yourMySqlDatabase?zeroDateTimeBehavior=convertToNull
Is there a way I can set that convertToNull piece into the call on the Snap?