DB2 poolled Connection problem
From: David Touzart (david.touzart_at_wanadoo.fr)
Date: 11/28/04
- Previous message: jlp: "Re: Apache-Derby"
- Next in thread: Anzime: "Re: DB2 poolled Connection problem"
- Reply: Anzime: "Re: DB2 poolled Connection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Nov 2004 17:08:58 +0100
Hello,
I try to use a pooled Connection, I use DB2DataSource.
I take a Connection from this pool,with function getConnection()...I close
this connection with the classic close function ,
but if I try to Do this, forty times in my program , I catch a SQLException
: all connections are already in use...
what matter ?
What have I to do to release the connection ?
Other problem..
If I want to use a connection after used the execute function from object
PrepareCallSatatement , my program sometimes freeze when I execute the same
function execute . MayBe the Object connection was bad (but it's not close).
How can I get back the statement of the Connection (and try to close the bad
connections), or know why my program freeze ?
I use UDB personal edition 8
Thank you
David
- Previous message: jlp: "Re: Apache-Derby"
- Next in thread: Anzime: "Re: DB2 poolled Connection problem"
- Reply: Anzime: "Re: DB2 poolled Connection problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|