blob « postgresql « Java Database Q&A





1. Postgresql, JDBC, and streaming BLOBs    stackoverflow.com

I am trying to retrieve a blob from a postgres database using the jdbc drivers. It is too big to have in memory so I want to stream it as ...

2. PostgreSQL getting image from database    stackoverflow.com

I have some Java code which get's an image from the database and saves it out to a file, however, when I open it in all programs but Photoshop I get ...

3. BLOB, iBatis & PostgreSql 8.1    coderanch.com

Greetings! I got lost trying to save and read an image file from a db. I get file upload taken care of where a servlet populates a bean with the image file and other info, but I can't get to be written to the db. What's the best way to procede, starting with the bean? Would this be appropriate: private MultipartFile ...

4. BLOB, iBatis & PostgreSql 8.1    dbforums.com

... that's what I was suspecting. Does the file have to be stored in a 'real' directory or can it be accessed from the temp dir where it resides after upload? Then during retrieval, can it sit in the temp directory or once again does it have to be saved into some permanent directory? Could the byte[] data be saved in ...