Hi Flavio,
I am having exactly the same problem with stings being truncated via SeRow.setString(index,string). I just wondered if you found a solution for this?
It was working fine with SDE 9.1 on Oracle 10g but we've just upgraded to SDE 10.1 and have found this problem.
Next stop is Tech Support, but just thought I'd see how you got on first.
Thanks,
Adam
I just thought I'd share my solution, in case anyone else has this problem in the future.
The problem was actually caused by conflicting class files. While we had the 10.1 sdk jar files on the class path, what we didn't notice immediately was that the JAVA_HOME was set to an old installation of java that came with ArcIMS, which in turn had old 9.1 sdk jar files in the lib/ext folder. Interestingly most of our system appeared to work fine like this, with the one exception as reported. Simply moving JAVA_HOME to a fresh install of Java that had nothing to do with ArcIMS (and hence no ESRI jar files in lib/ext) fixed the problem.
So, if you are having this problem, take a look in $JAVA_HOME/lib/ext and see if there are any ESRI jar files conflicting with your classpath (or look for multiple sdk versions on your classpath).
I hope this helps someone in the future.
Thanks,
Adam