List:MySQL and Java« Previous MessageNext Message »
From:Luca Lafranchi Date:January 21 2003 5:55pm
Subject:Possible bug in PreparedStatement.setString(int,String) ?
View as plain text  
Hi :)

If I try to save something like "       -         " into  MySQL 
4.0.8-gamma and 3.23.51 using a PreparedStatement, it actually trims the 
trailing spaces (I did a select with mysql client to look at it). This 
happens both with 2.0.14 and with latest snapshot builds. The column is 
varchar(50).

Has anybody a clue?

Ciao
Luca


Thread
Possible bug in PreparedStatement.setString(int,String) ?Luca Lafranchi21 Jan
  • Re: Possible bug in PreparedStatement.setString(int,String) ?Mark Matthews21 Jan
  • Re: Possible bug in PreparedStatement.setString(int,String) ?Luca Lafranchi21 Jan
    • Re: Possible bug in PreparedStatement.setString(int,String) ?Mark Matthews21 Jan
      • load file errorRemoved13 Nov
    • installation problemRemoved13 Nov
  • Re: Possible bug in PreparedStatement.setString(int,String) ?Luca Lafranchi22 Jan