I use Weblogic 6.0 sp2,rp3(rolling patch3)
- Posted by: Jerry Zhu
- Posted on: June 23 2003 05:43 EDT
1.if Connection.close() is used,can Statement on this connection automatically closed.
the connection is get from Weblogic DataSource(ie,pooled connection)
2.when I monitor Weblogic management Console,find the current connection no. is 0,high is 10,max allowed is 20.But when I request a new Connection from DataSource,it blocks,what maybe the reason?
Thanks in advance
you have to explicitly close the Statement also, and also it is good practice to close the ResultSet even though it releases the resources after closing the statement with which it is created.