Im not really good in streams, so here is my question...
Im serializing an object and puting it to Oracle column of type "Clob":
This works fine
Then I want to get this object from a table and Deserialize it:
Exception is : java.io.StreamCorruptedException: invalid stream header
I tried to printout InputStream and it consist of bytes
So if I understand correctly I need a stream of chars to give to ObjectInputStream so it could deserialize correctly...
If I printout this InputStream with BufferedReader, then it looks like serialized object..
So question is how to get valid Stream for ObjectInputStream?
thx in advance...