Object serialization and postgres tables, org.postgresql.util.Serialize.create() method depreciated? - Mailing list pgsql-jdbc

From Kash
Subject Object serialization and postgres tables, org.postgresql.util.Serialize.create() method depreciated?
Date
Msg-id 5.1.0.14.0.20040214084038.0279c270@mail.sfbike.org
Whole thread Raw
Responses Re: Object serialization and postgres tables,  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
I've been asked to store some java objects in a postgresql database so that
the individual fields are accessible. After a little poking around I found
mentions of org.postgreql.util.Serialize in the postgres JDBC extensions.

I tried to use the create() method to generate tables matching the object I
wanted to store, but no luck. More research turned up mentions that the
code did not work as advertised and other comments that it would be deleted
in future releases.

Sure enough, running jar on the files available at
http://jdbc.postgresql.org shows that in releases above 7.3 ,
org/postgresql/util/Serialize.class is missing.

Tantalizingly, in the postgresql 7.4 release notes under JDBC there is an
entry 'serialize addition', and in a CVS log 'Removed deprecated Serialize
functionality'.

I can find no explanation of whether or how the functionality has been
replaced. Mapping objects to tables seems so broadly useful that I can't
imagine it's just been dropped. Does anyone know?


pgsql-jdbc by date:

Previous
From: "Chris Smith"
Date:
Subject: Startup messages
Next
From: "Chris Smith"
Date:
Subject: A few more questions