Storing/Retrieving object to/from Access

Hi all!

I tried to make a little app in order to practice RMI and JDBC. A little swing app displays ImageIcon from local files and store/retrieve these Images to/from an RMI server.

Everything goes fine when storing the data ( at least no exception is thrown ). Though when I try to unMarshall the object I get a "StreamCorruptedException".

In order to store and retrieve the object I used the setBinaryStream() and getBinaryStream() from the PreparedStatement and ResultSet respectively.

Using : jdk1.3.1

Access 2000.

Is there some particular setting I should put within the code or tune into Access ? BTW what should be the exact type of the column for the ImageIcon data to be hold ?

Any hints are welcome...

[774 byte] By [fquinet] at [2007-9-26 3:55:50]
# 1
BTW the information i get is :java.io.StreamCorruptedException Input Stream does not contain a serialized object.
fquinet at 2007-6-29 12:46:17 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...