Multiple threads querying using the same connection

Поиск
Список
Период
Сортировка
От Rini Dutta
Тема Multiple threads querying using the same connection
Дата
Msg-id 20010302164820.13881.qmail@web2905.mail.yahoo.com
обсуждение исходный текст
Список pgsql-jdbc
Hi ,
I sent out an email asking about the  following error
messages, I don't know if it got posted -
Cannot handle multiple result groups
&
Unknown Response Type

I am wondering if the following two situations are
permitted/handled in the JDBC driver -
1. Multiple threads making different/separate
queries(Statements) using the same connection, at the
same time
2. Multiple threads making the same type of query(same
Statement) perhaps with different parameters, using
separate Connections.
3. I would like to reuse a PreparedStatement, is
closing the ResultSet after each query enough.

Thanks,
Rini


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Rini Dutta
Дата:
Сообщение: Unknown Result Type
Следующее
От: Ola Sundell
Дата:
Сообщение: getTableName() in ResultSetMetaData