On Dec 18, 10:03 pm, Paul F Fraser <[email protected]> wrote: > Hi Jeremy, > Further to our chat on irc, I have been able to get this to work:- > > ds = DB[:scripts][:id=>3] > puts String.from_java_bytes(ds[:content].getBytes(0,ds[:content].length)) > > this seems to work with :convert_types either unset or false > h2 returns the blob (File type) as java::OrgH2Jdbc::jdbcBlob which is > mapped to java.sql.Blob
Please try the pastie at http://pastie.org/750013.txt and let me know whether it works. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
