I am trying to persist a @NodeEntity which has a field of type java.time.ZonedDateTime into my Neo4j database using the Bolt driver, but all I get is this warning message:
org.neo4j.ogm.context.EntityGraphMapper : Unable to process AT on class nz.co.class.project.point.Point. Check the mapping.
I am using the following libraries:
- OpenJDK 11
- Spring Boot (2.2.0.RELEASE)
- Spring Data Neo4j (5.2.0.RELEASE)
- Neo4j (3.5.12)
- Neo4j-OGM (3.2.1)
- Neo4j-OGM-Bolt-Driver (3.2.1)
- Neo4j-OG-Bolt-Native-Types (3.2.1)
The result is the node entity being saved in the Neo4j database but without the ZonedDateTime attribute.
Am I doing something wrong? It is my understanding that OGM version 3.2.X supports all java dates in "java.time" package.
Here is a working example of the issue: