The `verifyConnectivity` method only ensures an exception if we are using the bolt scheme. Using the neo4j scheme will run into an uncertain state and report the driver as usable.
Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
We use the Spring Formatter already in many Neo4j projects and are quite happy with it.
It feels natural to use it with a Spring project, too. We take the opportunity to apply the formatter to the upcoming 8.0.x release. We think that the now increased difficulty of back porting things to the 7.x lines is outweighed by the better format and the simpler tooling.
Signed-off-by: Michael Simons <michael@simons.ac>
Replaces all deprecated Spring annotations with JSpecify annotations, and includes a full refactor so that the parent build profile `-Pnullaway` compiles and works proper.
Closes#2987
Signed-off-by: Michael Simons <michael@simons.ac>
With 2025.04 the message regarding deprecated `id` has changed
and will now not be matched by the previous pattern anymore.
This change adjusts the pattern to match old and new style.
Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
This commit combines Spring Data Commons' Vector type
with the Neo4j vector functionality.
Fields defined as Spring Data Commons `Vector` will get
persisted through the `setNodeVectorProperty` procedure.
Closes#3003
Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
This provides the option for users to be able to use the latest Neo4j dialect, that will be safe with future Neo4j versions.
Signed-off-by: Michael Simons <michael@simons.ac>
There was italic formatting in the Cypher examples
where there should have been visible underscores.
Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
(cherry picked from commit e023d23ae9)
Add an optional parameter to `@RelationshipProperties` that allows
users to persist the type information on this relationship.
This will allow SDN to detect the right class it needs to instantiate
if, due to abstraction of the implementation, no other information is available.
Closes#2973
Signed-off-by: 杨耀飞 <yangyaofei@gmail.com>
Signed-off-by: yangyaofei <yangyaofei@gmail.com>
Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
Co-authored-by: Gerrit Meier <meistermeier@gmail.com>
(cherry picked from commit 7490d99096)