---
title: "mysql 0000-00-00 日期格式JDBC读取问题"
author: "com1com4"
date: "2011-08-29T12:03:32Z"
tags: []
categories: ["数据库"]
slug: "mysql-0000-00-00-jdbc"
draft: false
lastmod: "2011-08-29T12:03:32Z"
id: 1160236
url: "https://com1com4.iteye.com/blog/1160236"
---

zeroDateTimeBehavior What should happen when the driver encounters DATETIME values that are composed entirely of zeros (used by MySQL to represent invalid dates)? Valid values are "exception", "round" and "convertToNull". exception