pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Getting param names
4+ messages / 3 participants
[nested] [flat]

* Getting param names
@ 2005-11-10 05:20  Srivats <scshekaran@riskspan.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Srivats @ 2005-11-10 05:20 UTC (permalink / raw)
  To: pgsql-jdbc

Hi All,

Is there anyway of getting all the IN Parameters of a particular Stored 
Procedure in JAVA.

Thks




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Getting param names
@ 2005-11-10 16:20  Kris Jurka <books@ejurka.com>
  parent: Srivats <scshekaran@riskspan.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Kris Jurka @ 2005-11-10 16:20 UTC (permalink / raw)
  To: Srivats <scshekaran@riskspan.com>; +Cc: pgsql-jdbc



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...)

Although the postgresql driver hasn't been updated to handle the new out 
parameters in 8.1.

Kris Jurka




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Getting param names
@ 2005-11-10 20:34  Dave Cramer <pg@fastcrypt.com>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Dave Cramer @ 2005-11-10 20:34 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc

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
>




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Getting param names
@ 2005-11-10 20:42  Kris Jurka <books@ejurka.com>
  parent: Dave Cramer <pg@fastcrypt.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Kris Jurka @ 2005-11-10 20:42 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc



On Thu, 10 Nov 2005, Dave Cramer wrote:

> What new out parameters are you referring to ?
>

I'm speaking specifically in the context of 
DatabaseMetaData.getProcedureColumns()'s COLUMN_TYPE column.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-11-10 20:42 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-10 05:20 Getting param names Srivats <scshekaran@riskspan.com>
2005-11-10 16:20 ` Kris Jurka <books@ejurka.com>
2005-11-10 20:34   ` Dave Cramer <pg@fastcrypt.com>
2005-11-10 20:42     ` Kris Jurka <books@ejurka.com>

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