|
... i = 1; ps = con.prepareStatement( set); ps.setInt( i++, id); bos = new ByteArrayOutputStream(); oos = new ObjectOutputStream(bos); oos.writeObject( obj); byte [] bytes = bos.toByteArray(); bos.close(); bos = null; oos.close(); oos = null; bis = new ByteArrayInputStream( bytes); ...
Tags:
core_java

http://ashu-del2.livejournal.com/1595.html
(Cached)
0 links
Published: 1 year, 6 months ago (Fri, 28 Dec 2007 06:13:15 PST); 30 Kb
|