Hi
One thing you could try is trimming the String variable before sending it to the DB via JDBC (use the <code>trim()</code> of the String class).
May not make any difference, but just a thought...
The first thing, as always, is to figure our WHERE this behaviour is taking place (i.e. is it in the
Java code, the JDBC call, the stored proc/SQL, or the database itself?)
------------------
"One good thing about music - when it hits, you feel no pain"
Bob Marley