Hi,
can we set the same for datamanager and Dl or DC
Created one entity if i create a screen for that i want to run the same on additional database and if i want to use on some other screen or service i want with run the primary datasource.
i tried for below code it seem to be working but how to do this for Dl or Dc
@PersistenceContext(unitName = "slaveadditional") // store name
@Autowired
private DataManager dataManager;
@Transactional("slaveadditionalTransactionManager")
public void loadData()
{
collectionsesDl.setQuery("select e from user e");
collectionsesDl.setSort(Sort.by(Sort.Direction.DESC,"id"));
collectionsesDl.load();
}