• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help in reading a file stored as a blob in database

 
aman thind
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any help to get me started in how to read an excel/text file stored as a blob in database(i am using mysql). I know how to get the other data but i am completely clueless on how to read a blob.
Thanks in advance
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36006
422
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using what? For JDBC, this tutorial covers it. If you are using an ORM framework (as this forum implies), which one?
 
aman thind
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using hibernate. I need to know how to read data from BLOB without creating a file on the server side. I am able to read from BLOB by creating a file but is there a way to read without creating one.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!