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 Relational Databases 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
jQuery in Action, 3rd edition
 
subject: storing image file in ms-access using jdbc
 
It's not a secret anymore!