ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org Error Executing Database Query.<br/>
Cannot convert value '0000-00-00 00:00:00' from column xxxx to TIMESTAMP.1Error Executing Database Query.<br/> 2Cannot convert value '0000-00-00 00:00:00' from column xxxx to TIMESTAMP.
This is caused by Java as it cannot handle zero dates ('0000-00-00 00:00:00'), it trys to
do anything it can with them but convert them to the original date :o). To get round this you can set a parameter in the JDBC URL called zeroDateTimeBehavior to convertToNull.
So in your Data Sources page you should have something similar to:
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org jdbc:mysql://localhost:3306/mySqlDatabase?zeroDateTimeBehavior=convertToNull1jdbc:mysql://localhost:3306/mySqlDatabase?zeroDateTimeBehavior=convertToNull
Hi, I'm working on a small program that uses a mysql database with some of the date fields default to '0000-00-00 00:00:00'. I've searched the internet for a solution and found yours to be the one I need. Thanks...
Thanks a lot Andy: Got my issue with Pentaho solved like a breeze: Under connection > edit > database name > I just added the string: ?zeroDateTimeBehavior=convertToNull That's it !