pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jason Tesser <jasontesser@gmail.com>
To: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Correct way to send a composite type to Postgres
Date: Tue, 16 Feb 2010 06:13:25 -0500
Message-ID: <98bbb46a1002160313m25967352s8b59e480e778d5c4@mail.gmail.com> (raw)

I have a composite type that is an IN parameter for a Stored Function.  How
do I construct the type in Java?

I know in Postgres I can do row(...)  I was hoping for something a little
more Javaish instead to having to build that String.

Can I extend PGObject to accomplish this?

Thanks,
Jason Tesser
dotCMS Lead Development Manager
1-305-858-1422

view thread (3+ messages)  latest in thread

Message-ID: <98bbb46a1002160313m25967352s8b59e480e778d5c4@mail.gmail.com>
Permalink:  ../98bbb46a1002160313m25967352s8b59e480e778d5c4@mail.gmail.com/
Also on:    postgresql.org/message-id/98bbb46a1002160313m25967352s8b59e480e778d5c4@mail.gmail.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: jasontesser@gmail.com
  Subject: Re: Correct way to send a composite type to Postgres
  In-Reply-To: <98bbb46a1002160313m25967352s8b59e480e778d5c4@mail.gmail.com>
  References: <98bbb46a1002160313m25967352s8b59e480e778d5c4@mail.gmail.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