wood burning stoves
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 The Software Craftsman this week in the Agile 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
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: storing image file in ms-access using jdbc