Hi,
I have a field in a (Sybase 12.52) database that is 2048 characters and when I run a sql query on a command line it shows all the text inside this field. However, when I run a sql query from java and obtain a java.sql.ResultSet I find that when I do:
...the contents of myObject has been truncated to 256 characters long rather than the 2048 it is in the database. Can anybody tell me a possible reason for this please?
Thanks in advance for any help you can offer!
I have a field in a (Sybase 12.52) database that is 2048 characters and when I run a sql query on a command line it shows all the text inside this field. However, when I run a sql query from java and obtain a java.sql.ResultSet I find that when I do:
Code:
Object myObject = resultSet.getObject(i);
...the contents of myObject has been truncated to 256 characters long rather than the 2048 it is in the database. Can anybody tell me a possible reason for this please?
Thanks in advance for any help you can offer!