Re: JAVA_OBJECT: Unkown type - Mailing list pgsql-novice

From Julian Hagenauer
Subject Re: JAVA_OBJECT: Unkown type
Date
Msg-id 20060828165013.53051b16@julian.chaosbringer.de
Whole thread Raw
In response to Re: JAVA_OBJECT: Unkown type  ("Michael Swierczek" <mike.swierczek@gmail.com>)
List pgsql-novice
> >
>
> I don't have much to offer.  If you download the JDBC driver source from
> http://jdbc.postgresql.org/download/postgresql-jdbc-8.2dev-503.src.tar.gz
> you may be able to figure out the problem yourself.  I only found
> references to JAVA_OBJECT in some comments in
> org/postgresql/jdbc3/AbstractJdbc3Statement.java
> The workhorse function setObject is in
> org/postgresql/jdbc2/AbstractJdbc2Statement.java and I don't see an
> explicit reference to JAVA_OBJECT in there.
>
> I'm no expert, but if I wanted to save and load Java classes from the
> database I would make the class serializable and store and load the
> serialized version as a BLOB.  Or are you seeking some other
> functionality?

Hi,
that is exactly how i am doing it rigth now. I though of storing java_objects as a more uper-level implentation, but i
canlife with serialization too :-) 
Thanks,
Julian

pgsql-novice by date:

Previous
From: "Michael Swierczek"
Date:
Subject: Re: JAVA_OBJECT: Unkown type
Next
From: "Jasbinder Bali"
Date:
Subject: Re: [GENERAL] Shared Objects (Dynamic loading)