JDBC CTS failures

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема JDBC CTS failures
Дата
Msg-id 0FBF9A87-E04C-4219-AB45-193AE8FF3390@fastcrypt.com
обсуждение исходный текст
Ответы Re: JDBC CTS failures
Список 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 по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: prepared statements and sql injection
Следующее
От: Bill Boggins
Дата:
Сообщение: Connecting to SSL PostgreSQL with WebStart Application