Forum Discussion
FICO
14 years agoCommunity Manager
Custom Provider to dynamically populate the fields of a database provider
Custom Provider to dynamically populate the fields of a database provider Hi, Need to develop a custom provider, which will read the contents from a property file and will update the drivername, db...
FICO
14 years agoCommunity Manager
Hi,
From what it sounds like you are trying to do I have used a slightly different approach. My assumption is that you are trying to "externalize" the DB definitions so that as the project gets promoted, the correct version of the database will be used (DEV, PROD, etc). When I needed to accomplish this, I used Java system variables. I'm talking about the ones that are specified on the command line when Java starts an application and are specified as -Dname=value. These can be coded into the startup script of the RMA and create a separate version for each enviroment or, the value part can be an environment variable that is set in the enviroment via a separate script before starting the RMA.
Now to use them, create a DB Provider in your template and use system variable provider in a dynamic override to pass in the values of the system variable.
Hope this helps,
Tom Sheckells
Business Rules Consulting, Inc.
Related Content
Related Content
Is it Possible to dynamically populate a column value by performing arithmetic operations on other column values?
In decision table, is it possible to add (or any arithmetic operation) two column cell values and display it in the third column. For example in column 1 --> amount 1 , column 2 --> amount 2 , if we ...0Views0likes1Comment