[HACKERS] rule and JDBC

2004-01-28 Thread Tatsuo Ishii
Hi, 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. Exception in thread main postgresql.stat.result at

Re: [HACKERS] rule and JDBC

2004-01-28 Thread Tatsuo Ishii
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

Re: [HACKERS] rule and JDBC

2004-01-28 Thread Kris Jurka
On Thu, 29 Jan 2004, Tatsuo Ishii wrote: Hi, 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