• Post Reply Bookmark Topic Watch Topic
  • New Topic

Database Connections not to be retruned from Connection Pool  RSS feed

 
Sajee Joseph
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

How can i ensure that the Connections(Database connection) returned to me are not from the Connection Pool. I want fresh new connection each time. I am using Tomcat 5.0 server.

Regards,
sajee
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't use the connection pool. Use forname and create your own connection.

Why wouldn't you want a connection from the pool?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!