Question
JP Morgan Chase
IN
Last activity: 22 Mar 2016 3:42 EDT
Querying the PRPC Database
PRPC version V5.5 SP1
We query the Database using RDB-List method, the generated Java for the method shows: tools.getDataBase().listRDB(). There are 2 questions:
1. A SQL rule is created in class (mapped to a table in the PegaRULES database), but the query is referring to a Schema and Table outside the PegaRULES database(DB config/datsource defined in Application Server).
How does PRPC identify during execution, which Database to query?
2. Also, if the Query is going to hit an external Database, is it possible to dynamically alter the Data source of the DB (say overriding some API or changing any configuration on App Server)