Re: Storing Java Objects in a table

2005-10-26 Thread Daniel John Debrunner
Rick Hillegas wrote: > I recommend that you make your class implement java.io.Externalizable. > That way you can write your own deserialization logic to handle version > upgrades of your class. Don't rely on java.io.Serializable; it doesn't > handle versioning and isn't appropriate for persistin

Re: Storing Java Objects in a table

2005-10-26 Thread Rick Hillegas
Hi Islay, It is true that old versions of Cloudscape let you declare a column to be a Serializable type. This functionality was removed from Derby because the syntax was non-standard. Most of the machinery to support this useful feature, however, still exists. I have logged enhancement reques

Storing Java Objects in a table

2005-10-26 Thread Islay Symonette
Hello, Sorry to bother you with such a trivial question. I am trying to create a table with one of the columns storing a java object. The sql statement I have is: CREATE TABLE StoreObject (objectID INT, object MyJavaObject); And recieved this: ERROR 42X01: Syntax error: Encountered "" at line