JDBC CTS failures

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: JDBC CTS failures
Date: 2006-10-19 22:44:36
Message-ID: 0FBF9A87-E04C-4219-AB45-193AE8FF3390@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

There is a test case in the JDBCCTS that uses the following

CallableStatement.prepareStatement( call function that does updates )
then does a number of addBatch callls
and does executeBatch()

This fails since executeBatch does not allow resultsets and we
emulate calling a function by doing "select * from funcname()" which
does return a result set.

The proposal is to have CallableStatement.executeBatch ignore this
resultSet instead of throwing an exception.

Can anyone see any problems with this ?

Dave

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bill Boggins 2006-10-20 08:21:17 Connecting to SSL PostgreSQL with WebStart Application
Previous Message Oliver Jowett 2006-10-18 20:27:36 Re: prepared statements and sql injection