|
|||||||||||
|
Re: [JDBC] Getting "This ResultSet is closed" exceptions
From: Jan de Visser <jdevisser(at)digitalfairway.com>
Date: Mon Feb 18 2008 - 17:08:06 EST
That sounds like a bad plan to me. You're going to interleave transactions etc. (You are using transactions, aren't you? :) Look into connection pools (apache has DBCP http://commons.apache.org/dbcp which is good), or otherwise use a threadlocal that keeps a connection per thread around. > But Creative, but not very scalable :) jan
--
--------------------------------------------------------------
Jan de Visser jdevisser@digitalfairway.com
Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
Received on Mon Feb 18 17:08:32 2008This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:44:45 EDT |
||||||||||
|
|||||||||||