• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[hibernate] how to read a very large blob from from db, and store it in a file ?

 
Dragan Jovanovic
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course, I don't want to use byte[], because I could get a memory overflow.
I found a solution for opposit problem :

and I want to connect a blob object to OutputStream, analog to this, but I can't find appropriate function. Any idea ?
I'm working with mysql.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic