We also had a similar problem and so far have not found any fix. 
I think the error is in the oracle driver but I'm not sure.

Strings less than 4000 chars can be converted to binary and saved using a
stmt.setBinaryStream()
Strings over 4000 chars do not get saved.



 -----Original Message-----
From:   Jens Stutte [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, June 21, 2001 4:49 AM
To:     Orion-Interest
Subject:        AW: big text in string as object over the network:

This may be related to an old Java problem, that strings over 65535
characters or so could not be serialized. I don't know, by when if ever it
was fixed by Sun, but try using StringBuffer instead. If this works, you
found the problem...

Regards,

Jens Stutte

> -----Ursprüngliche Nachricht-----
> Von: Tobias Streckel [mailto:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 21. Juni 2001 13:07
> An: Orion-Interest
> Betreff: big text in string as object over the network:
> 
> Hello,
> 
> if I want to save a String(he is in a object which will save 
> in a Oracle DB
> as a BLOB) I get by huge texts a Error:
> 
> com.evermind.server.rmi.RMIConnectionException
> com.evermind.server.rmi.OrionRemoteException: Disconnected: 
> Disconnected
> 
> Have anyone a answer why it doesn't work?
> 
> Thanks
> 
> Tobi
> 
> 
> 

Reply via email to