File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30086
    
149

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help in reading a file stored as a blob in database
 
Similar Threads
Parsing BLOB datatype
Calling Stored Procedure from jdbcTemplate
Java Mail File Attatchment
to get Database blob to JPG file
How to pass BLOB to a PL/SQL Stored Procedure