JDBC VARCHAR problem
Posted on 2002-05-09
I am inserting data into an SQL Server database from a coarse-grained EJB. When a string is inserted into a VARCHAR field in the database, the string is taking up the full length of the VARCHAR field, rather than just the length of the string - any ideas?
This problem does not occur with my fine-grained EJBs which use stored procedures to insert data.
Thanks in advance.