Results 1 to 6 of 6
Thread: MS word file in Oracle
- 07-28-2011, 10:57 AM #1
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
- 07-28-2011, 12:46 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Store it as a BLOB.
Use the setBinaryStream() method on a PreparedStatement to send the file stream to the db.
Use the getBS() to retrieve it and send to the front end (with the correct response header).
- 08-10-2011, 07:31 AM #3
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
Kindly help me creating one application for uploading and downloading word or pdf files in /from database(oracle)
- 08-10-2011, 09:15 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
I've given you the pointers.
I'm not going to write it for you.
If you have a problem when you write your code then ask and we'll try and solve the issue.
- 08-16-2011, 08:34 AM #5
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
wat will be the query for storing pdf or word file in oracle.I have created the following table:
Column Name Data Type Nullable Default Primary Key
DOCNAME VARCHAR2(15) Yes - -
DOCTYPE VARCHAR2(10) Yes - -
DOCID VARCHAR2(15) Yes - -
DOC BLOB Yes - -
But when i insert any row it shows the following:
Table: DOCDETAILS
Docname
Doctype
Docid
Doc not available to insert data
- 08-16-2011, 09:40 AM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
Removing a word from a txt file
By MiitchKay in forum New To JavaReplies: 3Last Post: 06-02-2011, 03:45 PM -
Count same word from many file in directory
By cassiests in forum New To JavaReplies: 4Last Post: 05-20-2010, 09:21 AM -
printin word file
By pinks_70986 in forum New To JavaReplies: 2Last Post: 07-12-2009, 03:26 PM -
How can i save file with greek word?
By mailbankey in forum EclipseReplies: 0Last Post: 04-15-2009, 01:16 PM -
Search a word(taken from one file) in another file and give the line as the output
By SwapnaNaidu in forum New To JavaReplies: 7Last Post: 11-19-2008, 02:09 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks