Re: Hstore PGObject class - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Hstore PGObject class
Date
Msg-id alpine.BSO.2.00.0912140350330.23611@leary.csoft.net
Whole thread Raw
In response to Hstore PGObject class  (Petr Jelinek <pjmodos@pjmodos.net>)
Responses Re: Hstore PGObject class
List pgsql-jdbc

On Sun, 13 Dec 2009, Petr Jelinek wrote:

> I recently implemented hstore class for project I work on and I decided
> to share it with list.

I did the same thing myself pretty recently, but haven't finished cleaning
it up.  A quick look at the differences between our versions are that
your getValue call doesn't handle nulls or strings with backslashes or
quotes correctly.  The parsing is a little to tricky to read through
quickly, but I based mine on a pretty literal conversion of the backend C
code.

Also at the moment the driver is still retaining JDK1.4 compatibility so
generics can't be used.

Kris Jurka

Attachment

pgsql-jdbc by date:

Previous
From: Petr Jelinek
Date:
Subject: Hstore PGObject class
Next
From: Petr Jelinek
Date:
Subject: Re: Hstore PGObject class