Multiple DataSources

I want to connect pega to multiple datasources. I am presently using the jdbc connection pool. The catch is I want the JNDI Name to change dynamically based on user action. I have teeo different databaes and based on user's choice on the portal shown to him, the database name should change dynamically. It should be like every user should be able to operate with the database he chooses irrespective of the number of users logged in. I understand that I can create multiple Data-Admin-DB-Name rules, each for one database and multiple classes. But, we hardly have any time to do that considering the size of our application. I need a way to change the jndi name dynamically.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

February 21, 2014 - 5:02pm

Did you get any solution for this ?


October 14, 2014 - 5:03pm

Please let us know if you found any solution

January 23, 2015 - 3:32pm

Application Server should have this capability. Configure this in Application Server.