Re: rule and JDBC

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: rule and JDBC
Дата
Msg-id 20040129.140710.48531364.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: rule and JDBC  (Kris Jurka <books@ejurka.com>)
Список pgsql-hackers
> > It seems JDBC driver does not handle if a INSERT SQL statement
> > performed by executeUpdate() is actually a SELECT, which is rewritten
> > by the rule system.
> 
> 
> The JDBC spec says an exception should be thrown if "the given SQL
> statement produces a ResultSet object" which it does.  As you note using
> executeQuery works, but won't if there isn't a rule.  Perhaps using plain
> execute() would be the most appropriate thing to do.
> 
> Kris Jurka

Got it. With regard to this PostgreSQL JDBC driver confirms the JDBC
spec.
--
Tatsuo Ishii


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: rule and JDBC
Следующее
От: "BARTKO, Zoltan"
Дата:
Сообщение: msg translation into sk_SK, Docs: SGML -> XML