pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Johnston <polobo@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Inputs Appreciated - Calling pgsql stored proc with user defined sql types from java using pgsql-jdbc
Date: Thu, 27 Mar 2014 22:22:52 -0700 (PDT)
Message-ID: <1395984172711-5797744.post@n5.nabble.com> (raw)
In-Reply-To: <CAFbMEWWXbKPXAJ5XaKbooapYaV9M78CUcU7Y63feMfRnzD_KAg@mail.gmail.com>
References: <CAFbMEWWXbKPXAJ5XaKbooapYaV9M78CUcU7Y63feMfRnzD_KAg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Venkateswar Reddy Melachervu wrote
> Hello All,
> Any inputs/pointers for the below are highly appreciated.
> 
> Problem
> When trying to conn.registerOutParameter(2,
> Types.STRUCT,"type_customer_details_for_subscription") for a pgsql stored
> proc with user defined type from java1.7 using jdbc41 pgsql driver to
> pgsql9.3 is resulting in error when type maps are used -
> SQLFeatureNotSupportedException: Method
> org.postgresql.jdbc4.Jdbc4CallableStatement.registerOutParameter(int,int,String)
> is not yet implemented.
> 
> Somehow I was under the impression that struct for sql is base type and
> pgsql jdbc driver can support it. But going by above exception message, it
> it not. am I doing something wrong (have to create some struct pointers
> etc. before registering the type) or it is the way pgsql jdbc driver is
> built. Is there any way out  - any pointer?
> 
> -- 
> Regards,
> Venkateswar Reddy Melachervu
> "...dare to dream, care to win..."
> www.linkedin.com/in/vmelachervu

registerOutParameter(...) is not implemented - it doesn't matter what the
actual argument values are.

 Sorry, no help on the solution.

David J.





--
View this message in context: http://postgresql.1045698.n5.nabble.com/Inputs-Appreciated-Calling-pgsql-stored-proc-with-user-defin...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (8+ messages)  latest in thread

Message-ID: <1395984172711-5797744.post@n5.nabble.com>
Permalink:  ../1395984172711-5797744.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1395984172711-5797744.post@n5.nabble.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: polobo@yahoo.com
  Subject: Re: Inputs Appreciated - Calling pgsql stored proc with user defined sql types from java using pgsql-jdbc
  In-Reply-To: <1395984172711-5797744.post@n5.nabble.com>
  References: <CAFbMEWWXbKPXAJ5XaKbooapYaV9M78CUcU7Y63feMfRnzD_KAg@mail.gmail.com> <1395984172711-5797744.post@n5.nabble.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