I have an application which I am running on websphere application server. The problem with that I am facing is that with WAS connection pool setting I am having the connection leak issue. Thererefor I had to switch to the hibernate connection pool.
Here is the additional code I have used to put the hibernate connection pool in place.
for this to run i have also commented out this line from the above code.