Re: what cause mysqlDataTruncation
Posted by: Mark Matthews
Date: March 09, 2005 05:02PM

Sen Ye wrote:
> i have same problem, finally found this was JDBC
> bug.
>
> i wll try your way to insert data, but i dont know
> if it works my data is huge...

Sen Ye,

It's not a bug. It's as intended. Prior to MySQL-4.1, the server itself couldn't report truncation of values. The JDBC specification _absolutely_requires_ data truncation on writes to the database to throw an exception.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
February 18, 2005 01:19AM
Re: what cause mysqlDataTruncation
March 09, 2005 05:02PM


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.