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 the fly likes JDBC to SQL Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC to SQL Server" Watch "JDBC to SQL Server" New topic
Author

JDBC to SQL Server

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Feb 01, 2001
Posts: 102
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JDBC to SQL Server