Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Pool Question

 
Gavi Raaghav
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Java Cowboy
Saloon Keeper
Posts: 15492
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
JuanP barbancho
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic have multipool, but I unknow the use of them
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic