MySQL錯誤:Value '0000-00-00' can not be represented as java.sql.Date解決方法
jsp+Tomcat+Mysql開發中采用ResultSet取值時,不管是採用getString()還是採用getDate()時,均會拋出如題所述錯誤.查閱Mysql官方Bug資訊:http://dev.mysql.com/doc/refman/5.1/en/connector-j-installing-upgrading.html是因為日期型(Date或DateTime類型)字串為'000-00