Hello,

I need to do something like this:

          Blob blob = dbConnection.createBlob();
          blob.setBytes(1, buffer);

          // put it into an object and insert into database using DAO

Since I am using higher level database approchach (not just plain JDBC
where I could use setBinaryContent or something like that) I need to
work with blob directly.

Methods setBytes and setBinaryStream are not supported (H2 throws
Unsupported Exception). How can I use Blob? Is it even possible?

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" 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/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to