The following bug has been logged online: Bug reference: 1561 Logged by: Ingolf Knopf Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.1 Operating system: JDBC Description: wrong detection of number of parameters in java.sql.PreparedStatement Details:
"java.sql.PreparedStatement.executeUpdate()" throws "java.sql.SQLException", if the prepared sql-string contains '?' within a C-like comment. Example: select relname from pg_class where /*relowner = ? and*/ relname = ? In this case, the java.sql.PreparedStatement of PostgreSQL requires two parameters, but I have only one. ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly