My question is of course, is there a way to tell MsSQLserver that it is ok to truncate...?
 
That was NOT clear in my email...
 
Sorry about that.
 
 
Johan
----- Original Message -----
Sent: Thursday, May 10, 2001 4:20 PM
Subject: Truncated data

Why does MsSQL server complain about truncating data?
 
com.jnetdirect.jsql.m: String or binary data would be truncated.
 at com.jnetdirect.jsql.af.a(Unknown Source)
 at com.jnetdirect.jsql.w.a(Unknown Source)
 at com.jnetdirect.jsql.w.a(Unknown Source)
 at com.jnetdirect.jsql.w.executeQuery(Unknown Source)
 at com.jnetdirect.jsql.z.executeQuery(Unknown Source)
 at com.evermind._oj.executeQuery(Unknown Source)
 at se.flowinteractive.aller.bean.ImageHandler.saveImage(ImageHandler.java:528)
 at __jspPage6_test_imgadmin_image_save_jsp._jspService(__jspPage6_test_imgadmin_image_save_jsp.java:74)
 at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
 at com.evermind._aj._nxd(Unknown Source)
 at com.evermind.server.http.JSPServlet.service(Unknown Source)
 at com.evermind._iib._vfd(Unknown Source)
 at com.evermind._iib._qjc(Unknown Source)
 at com.evermind._kj._qbc(Unknown Source)
 at com.evermind._kj._oa(Unknown Source)
 at com.evermind._jw.run(Unknown Source)
I'm using a setString on a varchar(5)
 
Is this not legal?
 
(yes I know this is not orionspecific, and therefore I should not ask this question here, but there are a lot of bright people out there who might have ran into this before and can give me a quick solution.)
 
Johan

Reply via email to