hi all,
i have a java code,
here "rs" is a result set.
ByteArrayInputStream byteStream = new ByteArrayInputStream(rs.getBytes(objName));
ObjectInputStream objStream = new ObjectInputStream(byteStream);
obj = objStream.readObject();
return obj;
i cant understand why it is used both "ByteArrayInputStream" and "ObjectInputStream"...?
can't i do this with one inputStream....?
please help me............!
thank you.....