JDBC CTS failures - Mailing list pgsql-jdbc

From Dave Cramer
Subject JDBC CTS failures
Date
Msg-id 0FBF9A87-E04C-4219-AB45-193AE8FF3390@fastcrypt.com
Whole thread Raw
Responses Re: JDBC CTS failures  (Kris Jurka <books@ejurka.com>)
List 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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: prepared statements and sql injection
Next
From: Bill Boggins
Date:
Subject: Connecting to SSL PostgreSQL with WebStart Application