Skip site navigation (1) Skip section navigation (2)

problem with serialization

From: candreol <Christophe(dot)Andreoli(at)consol(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: problem with serialization
Date: 2001-07-25 14:21:32
Message-ID: (view raw or whole thread)
Lists: pgsql-jdbc
Hi! I am new here.

I did a small test to try object serialization with the
org.postgresql.util.Serialize class.

I get the following exception  when I try to use the at
org.postgresql.util.Serialize.create Method. :

at org.postgresql.jdbc2.ResultSet.getString(
  at org.postgresql.util.Serialize.create(
at org.postgresql.util.Serialize.create(

I looked at  create in and saw that
the exception occurs at getString although I have no table corresponding
to the class I want to serialize.
       //   String lolo=rs.getString(1);}

Although the resultset is empty (because the table is absent) , why
getString  has been run ?

Can you help me  ?



pgsql-jdbc by date

Next:From: Dave CramerDate: 2001-07-25 16:12:35
Subject: RE: problem with serialization
Previous:From: Tom LaneDate: 2001-07-25 00:30:55
Subject: Re: Re: When PostgreSQL compliant JDBC 2.0?

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group