X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2DFF9DB251 for ; Thu, 10 Nov 2005 16:34:10 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08763-08 for ; Thu, 10 Nov 2005 20:34:07 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 67AFADB248 for ; Thu, 10 Nov 2005 16:34:07 -0400 (AST) Received: (qmail 3656 invoked from network); 10 Nov 2005 20:34:08 -0000 Received: from gw.tucows.com (HELO ?10.0.10.183?) (davec@216.40.39.5) by net2.micro-automation.com with SMTP; 10 Nov 2005 20:34:08 -0000 In-Reply-To: References: <01fc01c5e5b6$6bc7ec40$851e010a@NBINDIAXP0133> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: List Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Getting param names Date: Thu, 10 Nov 2005 15:34:10 -0500 To: Kris Jurka X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/88 X-Sequence-Number: 14186 Kris, What new out parameters are you referring to ? Dave On 10-Nov-05, at 11:20 AM, Kris Jurka wrote: > > > On Thu, 10 Nov 2005, Srivats wrote: > >> Is there anyway of getting all the IN Parameters of a particular >> Stored Procedure in JAVA. >> > > As was suggested earlier, see DatabaseMetaData.getProcedureColumns: > > http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ > DatabaseMetaData.html#getProcedureColumns(java.lang.String,% > 20java.lang.String,%20java.lang.String,%20java.lang.String) > > Although the postgresql driver hasn't been updated to handle the > new out parameters in 8.1. > > Kris Jurka > > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: explain analyze is your friend >