Multiple threads querying using the same connection

From: Rini Dutta <rinid(at)rocketmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Multiple threads querying using the same connection
Date: 2001-03-02 16:48:20
Message-ID: 20010302164820.13881.qmail@web2905.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ola Sundell 2001-03-02 18:18:15 getTableName() in ResultSetMetaData
Previous Message Rini Dutta 2001-03-02 16:11:41 Unknown Result Type