Skip to content

Commit 61a228f

Browse files
GH-2214 - Improve documentation for @RelationshipProperties.
This closes #2214.
1 parent fdf0290 commit 61a228f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/asciidoc/object-mapping/mapping.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ You should define a property for the generated, internal ID so that SDN can dete
164164
can be safely overwritten without losing properties.
165165
A generated id property is optional in SDN 6.0.4 and upwards and will be required in SDN 6.1 for `@RelationshipProperties`.
166166

167+
NOTE: The only supported generated ID field on classes annotated with `@RelationshipProperties` is `@GeneratedValue` with
168+
using the default ID generator `InternalIdGenerator` as shown above. Other generators will be ignored.
169+
167170
.Defining relationship properties for an entity
168171
[source,java,indent=0]
169172
----

0 commit comments

Comments
 (0)