Skip site navigation (1) Skip section navigation (2)

Re: proposal for CallableStatements to handle multiple out

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pg(at)fastcrypt(dot)com
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: proposal for CallableStatements to handle multiple out
Date: 2004-06-19 00:21:11
Message-ID: 40D386F7.3040401@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Dave Cramer wrote:
> See Kris's addition.
> 
> At this point however I've  done some work and realized that most of the
> parsing, binding and rewriting of the queries will need to be
> encapsulated in two classes, one for regular statements, and one for
> callable statements. This will allow me to totally encapsulate the logic
> for this inside the CallableStatement implementations, instead of
> mucking up the current AbstractJdbc1Statement code.

You might want to look at my pending patch first -- I've overhauled 
modifyJdbcCall and added a method that translates between user-provided 
parameter indexes and actual query parameter indexes that sounds like 
it'd be useful for this case.

-O

In response to

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2004-06-19 00:44:27
Subject: Re: proposal for CallableStatements to handle multiple out
Previous:From: Dave CramerDate: 2004-06-18 23:40:31
Subject: Re: proposal for CallableStatements to handle multiple out

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group