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

RE: JDBC: Getting started with Serialization

From: "SHARMA, Vivek, GNW IT" <Vivek(dot)Sharma(at)greenwichnatwest(dot)com>
To: "'Peter Mount'" <peter(at)retep(dot)org(dot)uk>
Cc: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: JDBC: Getting started with Serialization
Date: 1999-12-23 12:02:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Thank you for your prompt reply. Judging by your email, I think that I have
actually tried what you have said -- it is nice to know that I am not
completely on the wrong path :-). 

You asked if I could send you some further details regarding this error:

>>> * Trying to use the create(Connection db, Class c) or create(Connection
>>> Object o) methods I just get a null pointer exception.

>> Can you send me some more details on this please.

Unfortunately there is not much detail that I can forward to you at this
point in time. That was the only exception raised and my source code is at
home (this is my work email account) and so I can not forward it to you from

I think I have already done most of what you suggested. However I do have a
few questions. In your example, why is there a variable called sting? Is it
there purely as an example or is it meant to signify something?

> package mypackage;
> public class myclass implements Serializable
> {
> 	public long oid;
>	public String string;

Also what is the "type" parameter (of Type String) in the Serialize
constuctor meant to be for?

I have downloaded the source code for postgres to look at the driver code.
However I can see no example there for using Serialization. However, I
should be able to see how it all works by looking through the source driver.



This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.

pgsql-interfaces by date

Next:From: Enrique Rodriguez LazaroDate: 1999-12-23 12:10:18
Subject: Re: [ADMIN] Ghost insert
Previous:From: Enrique Rodriguez LazaroDate: 1999-12-23 10:27:01
Subject: Re: [ADMIN] Ghost insert

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