Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC to SQL Server

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got a problem in posting an image into the database. pl. clarify my doubt and give the suitable answer for this. My Question is,
How can i store an image using Java code into SQL Server.
 
David Freels
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This company makes a commercial driver for SQL Server:
http://www.inetsoftware.de
Also, you will need to use PreparedStatement to stream the image into the database (column type Image).
Hope this helps.
David
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic