Friday, October 19, 2001 12:44 PM
I need to store some classes in my database and after thi I need to load this from the database with my classloader. Now ... If instead the db I use some files to store the classes (that implements java.io.Serializable) all work fine. The problem is when I use my db (MySQL). I have a table with two field : name (varchar) and raw (blob).
I get the blob with the methods getBlob() and getBytes() of the java.sql.Statement interface but ... nothing ! Error magic number at run time.If someone have solved this problem ... help me please :-)