Re: Query blobs in clojure.contrib.sql?

2009-12-01 Thread Base
This is exactly what I was looking for! Early Christmas for me. Thank you Santa...e...John On Dec 1, 2:04 am, John Harrop wrote: > On Mon, Nov 30, 2009 at 9:57 PM, Base wrote: > > Hi > > > I have a database that has a table with complex java objects stored in > > a binary field. > > > In j

Re: Query blobs in clojure.contrib.sql?

2009-12-01 Thread John Harrop
On Mon, Nov 30, 2009 at 9:57 PM, Base wrote: > Hi > > I have a database that has a table with complex java objects stored in > a binary field. > > In java i would do something like: > > protected Object read(byte[] buf){ > Object obj = null; > if (buf==null) return obj; > try { >

Query blobs in clojure.contrib.sql?

2009-11-30 Thread Base
Hi I have a database that has a table with complex java objects stored in a binary field. In java i would do something like: protected Object read(byte[] buf){ Object obj = null; if (buf==null) return obj; try { ObjectInputStream objectIn =