agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] ResultSet getString
Date: Thu, 18 May 2006 13:41:53 +0200
Message-ID: <e4hmi1$9o3$1@sea.gmane.org> (raw)
In-Reply-To: <446C55FE.2020902@tada.se>
References: <446C5033.2000508@lewczuk.com>
	<446C55FE.2020902@tada.se>

Thomas Hallgren napisa?(a):
> Hi Marek,
> Yes, this is part of the new and improved data type mapping in PL/Java. 
> Arrays are recognized as such so a varchar[] will map to a String[]. 
> You'll find a complete list of mappings here: 
> http://wiki.tada.se/display/pljava/Default+Type+Mapping.
Ok, I thought that getString() will return any postgresql type as string 
- e.g. varchar[] would be {"val","val"}, boolean would be "t" or "f" - 
that is how pgsql works, when assigning value of any type to variable 
defined as text/varchar.

ML





view thread (10+ messages)  latest in thread

Message-ID: <e4hmi1$9o3$1@sea.gmane.org>
Permalink:  ../e4hmi1$9o3$1@sea.gmane.org/
Also on:    postgresql.org/message-id/e4hmi1$9o3$1@sea.gmane.org

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 using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] ResultSet getString
  In-Reply-To: <e4hmi1$9o3$1@sea.gmane.org>

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

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