Get soft deleted data

Hello,

Does soft deleted data is ignored when fetching data using datamanager ?

If yes, then how do I get the soft deleted data in the list while using datamanager and if no, then i also want to know that how do I ignore the soft deleted data while fetching

Yes, standard soft-deleted entries are not loaded.
You can load all data including soft deleted data using the method hint from dataManager :

@Autowired
private DataManager dataManager;
...
dataManager.load(customerId).hint(PersistenceHints.SOFT_DELETION, false).one();

See also:
Soft Deletion :: Jmix Documentation
Soft-deletion in EntityManager

1 Like