File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: storing image file in ms-access using jdbc