Re: proposal for CallableStatements to handle multiple out

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: proposal for CallableStatements to handle multiple out
Дата
Msg-id 40D59C71.2060904@opencloud.com
обсуждение исходный текст
Ответ на Re: proposal for CallableStatements to handle multiple out  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: proposal for CallableStatements to handle multiple out  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
Dave Cramer wrote:
> No,
>
> What I was planning on doing is encapsulating all the code that parses
> the sql, and rewrites it into a small class, StatementSqlParser
> implement SqlParser, then changing the contstructor for
> AbstractJdbc1Statment to
>
> AbstractJdbc1Statement( Connection, SqlParser )
>
> Then I could create a second class CallableSqlParser which would deal
> with the differences in CallableStatements.

So essentially the SqlParser is a strategy object, or maybe strategy +
some state? Which object holds what state?

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: [HACKERS] JDBC prepared statements: actually not server prepared
Следующее
От: André Gomes
Дата:
Сообщение: Question about encoding