I have a simple DTO entity with a single integer field, count.
I need to contact a 3rd party API and save its return to that field:
RiskDetections riskDetections = dataManager.create(RiskDetections.class);
riskDetections.setCount(signinCount);
dataManager.save(riskDetections);
I have confirmed that signinCount is a none-null value.
However, when reading back the DTO entity, it is blank:
List<RiskDetections> signinCount = dataManager.load(RiskDetections.class).all().list();
for (RiskDetections i : signinCount) {
System.out.println(i.getCount());
}
Can anyone spot what I’m missing here?