Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTPFp-0000ln-Fc for pgsql-jdbc@arkaria.postgresql.org; Fri, 28 Mar 2014 05:22:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WTPFo-0001KH-Mg for pgsql-jdbc@arkaria.postgresql.org; Fri, 28 Mar 2014 05:22:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTPFn-0001KA-ND for pgsql-jdbc@postgresql.org; Fri, 28 Mar 2014 05:22:55 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTPFl-0008GT-IP for pgsql-jdbc@postgresql.org; Fri, 28 Mar 2014 05:22:55 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WTPFk-0007lu-NW for pgsql-jdbc@postgresql.org; Thu, 27 Mar 2014 22:22:52 -0700 Date: Thu, 27 Mar 2014 22:22:52 -0700 (PDT) From: David Johnston To: pgsql-jdbc@postgresql.org Message-ID: <1395984172711-5797744.post@n5.nabble.com> In-Reply-To: References: Subject: Re: Inputs Appreciated - Calling pgsql stored proc with user defined sql types from java using pgsql-jdbc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 3.7 (+++) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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-defined-sql-types-from-java-using-pgsql-jdbc-tp5797743p5797744.html 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