This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes storing image file in ms-access using jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "storing image file in ms-access using jdbc" Watch "storing image file in ms-access using jdbc" New topic
Author

storing image file in ms-access using jdbc

ishan dave
Ranch Hand

Joined: Apr 16, 2007
Posts: 39
Dear all,

When i try to store a image file in MS-Access, I try it using OLE Object type in ms-access and object type in Java but i got following exception

java.sql.SQLException: SQL Exception : Unknown SQL Type for PreparedStatement.setObject (SQL Type=1111

So anyone please guide me that how to store an image file into ms-access database using the jdbc.

ishan dave
 
 
subject: storing image file in ms-access using jdbc
 
Similar Threads
Saving a jpeg to MS Access
stuck up in the problem
how to upload pdf files to My sql with java
file selected by JFileChooser and storing that image file in ms-access
Fetching Image Data