This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes retrieve MS word from ACCESS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "retrieve MS word from ACCESS" Watch "retrieve MS word from ACCESS" New topic
Author

retrieve MS word from ACCESS

Clara Hall
Greenhorn

Joined: Nov 24, 2001
Posts: 16
I store a MS Word file in the Access database in the type of OLE. Now I want to retrieve the file and send it to client. How can I retrieve the file? It seems getObject(String), getBinaryStream(String), and getAsciiStream(String) don't work well. Can anybody give me some suggestion? Thank you in advance.
Onur GAGO
Greenhorn

Joined: Nov 23, 2001
Posts: 6
Dear Clara,
I have a similar problem like yours. I have stored pictures as OLE Objects in MS Access (instead of Word Documents) and can't use them in my program. I think, using the "getBytes()" method of ResultSet can be a solution. However it did not work.
If you can find a solution for your problem please inform me. And if I can find a solution I'll inform you.
Onur K. GAGO


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />Onur Kutlu GAGO<br />visit my page at:<br /><a href="http://www.geocities.com/okgago" target="_blank" rel="nofollow">http://www.geocities.com/okgago</a><br />~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: retrieve MS word from ACCESS
 
Similar Threads
How to read and modify MS word using Java
Save binary file in DB using entity EJB
MS-Word Docs Access
File Problem
Appet with data Base