Currently we have our Aurora DB which our CUBA application is connected to its Write Replica
We have created new read replica and we want to to connect our Jasper Report Data Source to be reading from this read replica as we need to split both the datasource of the application from the reporting datasource
But When I have added the below dependencies it didn’t work I have added the spring boot & spring jdbc starter but still i’m not able to get the below import
org.springframework.boot.jdbc.DataSourceBuilder;
Can you please suggest solution or reference on how to do that ?
If you want to define second datasource in the jetty-env.xml file, then it will be published to JNDI.
Use “Obtaining a Data Source from JNDI” section in the documentation link above, how to configure data store for the CUBA app.