Re: proposal for CallableStatements to handle multiple out

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: proposal for CallableStatements to handle multiple out
Дата
Msg-id 40D386F7.3040401@opencloud.com
обсуждение исходный текст
Ответ на Re: proposal for CallableStatements to handle multiple out  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: proposal for CallableStatements to handle multiple out
Список 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 по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: proposal for CallableStatements to handle multiple out
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: proposal for CallableStatements to handle multiple out