Skip to content

Commit f80bfac

Browse files
committed
Add note about one Vector property limitation.
Signed-off-by: Gerrit Meier <[email protected]>
1 parent ba5f269 commit f80bfac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/antora/modules/ROOT/pages/appendix/conversions.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ Spring Data has its own type for vector representation `org.springframework.data
220220
While this can be used as a wrapper around a `float` or `double` array, Spring Data Neo4j supports only the `double` variant right now.
221221
From a user perspective, it is possible to only define the `Vector` interface on the property definition and use either `double` or `float`.
222222
But on the database-side those values will be persisted as `doubles` for the time being to support manual persisted arrays and
223-
values persisted throug `setNodeVectorProperty`.
223+
values persisted through `setNodeVectorProperty`.
224+
225+
NOTE: Spring Data Neo4j only allows one `Vector` property to be present in an entity definition.
224226

225227
NOTE: Please be aware that a persisted `float` value differs from a read back value due to the nature of floating numbers.
226228

0 commit comments

Comments
 (0)