We want to rename a data source from jdbc/datasourceA to jdbc/datasourceB. At the same time we want all existing code to now reference the new data source jdbc/datasourceB. Any recommendations?
We have tried editing the name of the data source but then there are errors that things like expressions can't find the data source as its still looking for jdbc/datasourceA. So now we are wondering how to find everywhere in the code that the old data source is referenced. We did not use constants but will consider that going forward.
Discussion posts and replies are publicly visible
You need to go to the datastore where you have mapped your entities and change the data source name there. Once you change the data source name, verify and publish your datastore.