Pentaho

 View Only

 Change DataSource from Java

  • Pentaho
  • Kettle
  • Pentaho
Szymon Klepacz's profile image
Szymon Klepacz posted 05-15-2018 15:53

I need to change database connection settings (URL as well as user credentials) from Java. Doing separate report for every user would be pretty painful. Doing some small research about it on google I found few solutions:

1. Unzip file and change credentials

2. Executing JNDI based Pentaho reports using the Java API | Open Source ECM

Is there any easier way to change connection settings from Java?


#Pentaho
#Kettle
Szymon Klepacz's profile image
Szymon Klepacz

For those with the same problem in the future, I used JNDI.