Re: ResultSet.getTimestamp throws exception for 0000-00-00 00:00:00 in 3.1 gamma
Posted by: ledru cyril
Date: January 18, 2005 02:53AM

Hello,

I have the same problem with Connector Java 3.1.6 :

java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 2 to TIMESTAMP.
at com.mysql.jdbc.ResultSet.getTimestampFromString(ResultSet.java:6369)
at com.mysql.jdbc.ResultSet.getStringInternal(ResultSet.java:2161)
at com.mysql.jdbc.ResultSet.getString(ResultSet.java:2076)

=> but i have not problem with Connector Java 3.0.16

Have you a solution at this problem ?

Cyril.

Options: ReplyQuote


Subject
Written By
Posted
Re: ResultSet.getTimestamp throws exception for 0000-00-00 00:00:00 in 3.1 gamma
January 18, 2005 02:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.