| От | Oliver Jowett |
|---|---|
| Тема | Re: patch for passing the cts |
| Дата | |
| Msg-id | 42AF8B53.7080201@opencloud.com обсуждение исходный текст |
| Ответ на | Re: patch for passing the cts (Dave Cramer <pg@fastcrypt.com>) |
| Список | pgsql-jdbc |
Dave Cramer wrote:
> Oliver,
>
> So if we defer parsing, this will require changing the strategy to
> create the parameters as they are set, or registered.
>
> I would suggest using an ArrayList of Parameters, and grow this as
> required, then parse when it is executed.
>
> Do you have any suggestions ?
I'd go with storing a local array of parameters on the statement when
you're handling a {call}, and create the final query and assign
parameters just before execution.
You'll probably need to expose some parameter factory methods or
something similar on QueryExecutor since different implementations want
to store parameters differently.
-O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера