aspose file tools*
The moose likes Object Relational Mapping and the fly likes Need help in reading a file stored as a blob in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Need help in reading a file stored as a blob in database" Watch "Need help in reading a file stored as a blob in database" New topic
Author

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

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
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


Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Using what? For JDBC, this tutorial covers it. If you are using an ORM framework (as this forum implies), which one?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need help in reading a file stored as a blob in database