There's an example of what you want at this URL:
----- Original Message -----
From: "C.F. Scheidecker Antunes" <nando@stripped>
Sent: Wednesday, August 17, 2005 4:22 AM
Subject: Writing a file into a BLOB field with Java
> Hello all,
> Does anyone knows howto insert a row in a database that has a blob field
> using Java?
> I need to read a file and then write it to a blob field on the database.
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=1
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 15/08/2005
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.11/74 - Release Date: 17/08/2005