This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection Pool for Multiple Databases?  RSS feed

 
Jack Raymundo
Greenhorn
Posts: 1
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys i made a connection pool.
i was wondering how can i use my connection pool to create connections for multiple database.

lets say my current connection pool creates connection for database1. and i want to use this connection pool to create connection for database2. database1 and database2 have different credentials.

I am using property file.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!