Hi Chris,
See the code how load BLOB into a MySQl
String saveSql = "INSERT INTO Table (DataCol) VALUES (?)"
try {
bos = new ByteArrayOutputStream();
oos = new ObjectOutputStream(new BufferedOutputStream(bos));
fileObj.writeObjectData(oos);
oos.
Unicode characters in the database. You
just can't sort on them, that's all :)
Dean Harding.
-Original Message-
From: Christian Nebenfuehr [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 29 May 2002 9:32 pm
To: [EMAIL PROTECTED]
Subject: Loading BLOB into a MySQL-DB
Hello Outthere!
Ma
Hello Outthere!
Maybe this is a very simple question, but I'm a Rookie so lets see. I've tried to load
BLOBs into my MySQL-DB, but I could not find a documentation how to do this. How can I
load a BLOB, for example a PDF-File from my local filesystem into the database (which
SQL-commands do I