Posted by sandyrandhawa:
We have a schema in DGraph where one of the predicate is of
dateTime type and we are trying to use
java.util.Date type to represent it in our data model POJO.
So the issue is that when we convert it to json string and try to store it using
setSetJson no exception is thrown out and also all other fields are being stored other than
When we change the POJO field from
java.util.Date to String and format date it using
SimpleDateFormat and then everything is running as expected.
So is there an issue with using
java.util.Date or is it just not supported right now?