I am getting the subject error when referencing the DataManager type within an entity class. I have an entity class ‘ActShips’ which is a standard entity defined through Cuba Studio with an embedded entity ‘status’. I have added a datamanager reference identically to how I have successfully added it in a servicebean but within the entity class, I get the subject error against the following line:
@Inject
private DataManager dataManager;
Are there particular limits to the use or syntax to DataManager within an entity or should it be called and behave identically to when used within a service?
ActShips.java (3.3K)