A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Database Connections not to be retruned from Connection Pool
Joined: Jan 17, 2001
Jul 27, 2005 23:36:00
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
Joined: Dec 11, 2004
Jul 28, 2005 05:20:00
Don't use the connection pool. Use forname and create your own connection.
Why wouldn't you want a connection from the pool?
How to ask a question...
Simple Servlet Examples
It is sorta covered in the
JavaRanch Style Guide
subject: Database Connections not to be retruned from Connection Pool
JSF Database Access
Better approach to get DB Connection
getting the active connections from connection pool
Getting connection from pool?
When to close connection?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013