Weblogic Connection from DataSource

Discussions

EJB programming & troubleshooting: Weblogic Connection from DataSource

  1. Weblogic Connection from DataSource (1 messages)

    I use Weblogic 6.0 sp2,rp3(rolling patch3)

    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
  2. 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.
    -Narendra Paruchuri