Connections and Connection Pools
From: flarosa (frank_at_franklarosa.com)
Date: 01/05/05
- Previous message: Daniel Rohe: "Re: Tomcat database connection pool doesn't work. Please help!"
- Next in thread: Joe Weinstein: "Re: Connections and Connection Pools"
- Reply: Joe Weinstein: "Re: Connections and Connection Pools"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Jan 2005 14:36:02 -0800
Suppose I get a connection from a connection pool, and during my use of
the connection it goes bad (say, the socket it's using to talk to the
database breaks). When I return that connection to the connection pool,
will the pool realize it's bad and not reuse it?
Similarly, what if I return a connection with an open transaction? Will
the pool roll back or commit the transaction before giving it out to
someone else?
I realize that the answer depends on the connection pool
implementation, I'm just looking for what I can generally expect with a
modern commercial implementation (say, JBoss and Oracle using Oracle's
JDBC drivers). Thanks.
Frank
- Previous message: Daniel Rohe: "Re: Tomcat database connection pool doesn't work. Please help!"
- Next in thread: Joe Weinstein: "Re: Connections and Connection Pools"
- Reply: Joe Weinstein: "Re: Connections and Connection Pools"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|