05-30-2017 07:34 AM
This is my db.properties file.
db=oracle
jdbc.driver=oracle.jdbc.driver.OracleDriver
jdbc.url=jdbc:oracle:thin:@oracle:1521:XE
jdbc.username=ACTIVITI
jdbc.password=ACTIVITI
Is there a way to get these db.properties values dynamically ?
For example, host may be oracle or localhost or some_ip;
username may be ACTIVITI or anyotherusername (same situation with password),
port may be 1521 or 1531 or sth like that.
05-30-2017 03:03 PM
Yes, use the JNDI option if you want to externalize your database connection details:
Activiti User Guide - JNDI datasource Configuation
Greg
Explore our Alfresco products with the links below. Use labels to filter content by product module.