Re: Patch to improve Cloneable implementation on classes which extend PGobject. - Mailing list pgsql-jdbc

From Russell Francis
Subject Re: Patch to improve Cloneable implementation on classes which extend PGobject.
Date
Msg-id 469B5974.30705@ev.net
Whole thread Raw
In response to Re: Patch to improve Cloneable implementation on classes which extend PGobject.  (Kris Jurka <books@ejurka.com>)
Responses Re: Patch to improve Cloneable implementation on classes which extend PGobject.
List pgsql-jdbc
Kris Jurka wrote:
>
> On Sun, 24 Jun 2007, Russell Francis wrote:
>
>> The attached patch aims to improve the current implementation of the
>> clone() method on classes which extend PGobject.
>
> Makes sense, but why are you providing clone implementations in point,
> money, interval and NullObject instances?  Shouldn't this already be
> handled by PGObject's implementation?

Yes, in all of those cases the clone() implementation in PGobject would
do what is expected.  I suppose I provided the method declarations and
trivial implementations for clarity but they are not needed.

Thanks,
Russ

pgsql-jdbc by date:

Previous
From: Marek Lewczuk
Date:
Subject: Re: patch - support for multi-dimensional arrays and NULL values
Next
From: "Kalle Hallivuori"
Date:
Subject: Re: Stream Copy for 8.1 - 8.3dev