This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
    Bookmark Topic Watch Topic
  • New Topic

file selected by JFileChooser and storing that image file in ms-access

 
ishan dave
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Report post to moderator
Dear all,

I am having a JFileChooser in which i select a image file now i want to store that particular 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 java.

ishan dave
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread in the JDBC forum, where it is a better fit.
 
    Bookmark Topic Watch Topic
  • New Topic