File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Connection Pool Question
Joined: Apr 28, 2005
Dec 06, 2005 17:01:00
I am using the connection pool through the WAS. I connect to multiple databases so is there only 1 connection pool created which caters to all the DB's or there is 1 connection pool allocated to every DB?
Jesper de Jong
Joined: Aug 16, 2005
Dec 07, 2005 01:26:00
One connection pool contains only objects that point to the same database. All the connection objects in the pool are the same.
So if you connect to two databases, you need two connection pools, one for each database.
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 8 API documentation
Joined: Oct 25, 2005
Dec 07, 2005 02:04:00
Weblogic have multipool, but I unknow the use of them
I agree. Here's the link:
subject: Connection Pool Question
Testing Connection Pool in Weblogic6.1
Clean-up objects in session.
enterprise application with many users
recreating damaged connection in pool
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015