Hi Mauro,
If your files fit in memory completely – I assume most pictures would – then there’s nothing special about inserting a blob. Prepare an SQLiteStatement with INSERT and bind a blob using SQLiteStatement.bind(int index, byte[] data), and execute. For extracting data, you’d use columnBlob() method.
If your blobs are really large, you can use SQLiteConnection.blob() method for incremental access, but that’s trickier.
Sorry if documentation is lacking. Feel free to contribute your article – we can post it to the project wiki.
Hope this helps!
Igor
--
You received this message because you are subscribed to the Google Groups "sqlite4java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlite4java...@googlegroups.com.
To post to this group, send email to sqlit...@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlite4java.
For more options, visit https://groups.google.com/groups/opt_out.