I am trying to insert a
string of length 3000 characters using prepSt.setString(). The length of the field in database is 4000 varchar (using SQL Server as Database) . but the string gets truncated to only 256 characters. it throws no exception but when i fire a SELECT qry from back end i get only 256 chars
Any solution for this problem.
thanx