To get MySQL Connector/J versions > 3.0 to gracefully handle null dates, append zeroDateTimeBehavior=convertToNull
to your jdbc url.
Example:
jdbc:mysql://host/dbname?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull
To get MySQL Connector/J versions > 3.0 to gracefully handle null dates, append zeroDateTimeBehavior=convertToNull
to your jdbc url.
Example:
jdbc:mysql://host/dbname?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull