java.io.StreamCorruptedException: invalid stream header
tld12 2009-03-18 09:55:42 大家看看有什么问题吗,为什么ObjectInputStream in = new ObjectInputStream(blob.getBinaryStream());
报错呢
public static List TOLIST(Blob blob)throws IOException{
List l = new ArrayList();
try {
ObjectInputStream in = new ObjectInputStream(blob.getBinaryStream());
l = (List)in.readObject();
in.close();
return l;
} catch (Exception e) {
// TODO: handle exception
System.out.println("BlobToObject");
e.printStackTrace();
return null ;
}
}