Hi there. I have a
Java program which allows the user to select a File from there desktop.
I then want to save this in my database, where I have a column which is of type IMAGE.
My query is "INSERT INTO MYTABLE VALUES(199,'This is a file' , " + getByteArray(files.get(0)) + ")";
This does not work, is their a better way to do it?