Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

storing image file in ms-access using jdbc

 
ishan dave
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic