pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
To: pgsql-jdbc@postgresql.org
Subject: hstore documentation
Date: Mon, 21 May 2012 21:55:39 +0300
Message-ID: <4FBA8FAB.2070805@nitorcreations.com> (raw)

Hi,

Here is a patch that adds at least some information about jdbc driver support of hstore - in hope that google will find it and point users to it.

-Mikko

Attachments:

hstore-documentation.patch (text/x-patch, 946B) download diff --git a/doc/pgjdbc.xml b/doc/pgjdbc.xml index a13d320..7fdb616 100644 --- a/doc/pgjdbc.xml +++ b/doc/pgjdbc.xml @@ -2396,6 +2396,21 @@ public class GeometricTest { </example> </sect1> + <sect1 id="hstore"> + <title>hstore Data Type</title> + + <para> + <productname>PostgreSQL</productname> has a <ulink + url="http://www.postgresql.org/docs/current/static/hstore.html">hstore</ulink> + extension that can store unstructured key/value pairs into a table. + The jdbc driver maps the type to <classname>java.util.Map&lt;String, String&gt;</classname>. + </para> + + <para>After you have enabled the hstore extension in your database the mapping of hstore + type to/from <classname>Map</classname> will be automatically enabled when using + <function>setObject()</function> and <function>getObject()</function> methods. + </para> + </sect1> <sect1 id="largeobjects"> <title>Large Objects</title>

Message-ID: <4FBA8FAB.2070805@nitorcreations.com>
Permalink:  ../4FBA8FAB.2070805@nitorcreations.com/
Also on:    postgresql.org/message-id/4FBA8FAB.2070805@nitorcreations.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mikko.tiihonen@nitorcreations.com
  Subject: Re: hstore documentation
  In-Reply-To: <4FBA8FAB.2070805@nitorcreations.com>
  References: <4FBA8FAB.2070805@nitorcreations.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox