File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Uploaded file to database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Uploaded file to database" Watch "Uploaded file to database" New topic

Uploaded file to database

Avik Mazunder
Ranch Hand

Joined: Jun 27, 2012
Posts: 39

I have coded the following to set the uploaded data to database...

In oracle i have declared that datatype as BLOB....But when I am viewing the table it is showing (HUGE BLOB) as content....What data type should be appropriate for this..

My second problem is getFiledesc() and getFileDept() cant getting the value from the textbox....It is getting null....Thanks
I agree. Here's the link:
subject: Uploaded file to database
It's not a secret anymore!