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

JDBC: Getting started with Serialization

From: "SHARMA, Vivek, GNW IT" <Vivek(dot)Sharma(at)greenwichnatwest(dot)com>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Cc: "'peter(at)retep(dot)org(dot)uk'" <peter(at)retep(dot)org(dot)uk>
Subject: JDBC: Getting started with Serialization
Date: 1999-12-22 09:04:05
Message-ID: F370715B4543D211B9E00008C7A4A2880200C5BF@lonxpr0212.lon.grnw.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi,

Is there any example code that I can look at to see how to use PostgreSQL's
JDBC Object Serialization extensions? Would some one also please tell me
where I can find the source code for the JDBC driver? I have tried hunting
through the postgres site and through Peter's site but can not find any
links to it.

Basically I am trying to work out whether this functionality would reduce
the amount of object-to- relational database mapping code that I would have
to write. However my attempts use the postgresql.util.Serialize class has
not been successful -- I am having a hard time following the documentation
provided.

So far I have tried various permutations based on:

* Instantiating an object of type postgresql.util.Serialize. But when I use
the constructor  Serialize(Connection db, String X) I get a "class X not
found" exception.

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

I would really appreciate any pointers on how to use this functionality. 

Regards,

Viv.


********************************************************************
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.
********************************************************************


********************************************************************
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.
********************************************************************


********************************************************************
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.
********************************************************************


********************************************************************
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.
********************************************************************


Responses

pgsql-interfaces by date

Next:From: Manoj IndulkarDate: 1999-12-22 09:13:59
Subject: Trouble installing JDBC Driver.How do i get PostGreSql.jar ?
Previous:From: Kevin LoDate: 1999-12-22 08:03:29
Subject: Re: [INTERFACES] Announce: PostgreSQL-6.5.3 binaries available forWindows NT

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