Re: Data truncation throws java.sql.SQLException instead of com.mysql.jdbc.MysqlDataTruncation
Posted by: Khir Tera Khir
Date: December 21, 2005 08:24AM

Hi,
I think if we this method, not all text in (for example) will be added in MySql. I also stuck with this type of error. My solution for it, I extend my 'myAttribute' Varchar(20) to Varchar(30) and some more or I set my Varchar to dynamic.

Options: ReplyQuote




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.