Re: proposal for CallableStatements to handle multiple out - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: proposal for CallableStatements to handle multiple out
Date
Msg-id 40D386F7.3040401@opencloud.com
Whole thread Raw
In response to Re: proposal for CallableStatements to handle multiple out  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: proposal for CallableStatements to handle multiple out  (Dave Cramer <pg@fastcrypt.com>)
List 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

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: proposal for CallableStatements to handle multiple out
Next
From: Dave Cramer
Date:
Subject: Re: proposal for CallableStatements to handle multiple out