You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/asciidoc/index.adoc
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1021,6 +1021,7 @@ The `@Attribute` annotation is used to map object class fields to entity fields.
1021
1021
1022
1022
The `@DnAttribute` annotation is used to map object class fields to and from components in the distinguished name of an entry.
1023
1023
Fields annotated with `@DnAttribute` will automatically be populated with the appropriate value from the distinguished name when an entry is read from the directory tree.
1024
+
Only fields of type `String` can be annotated with `@DnAttribute`, other types are not supported.
1024
1025
If the `index` attribute of all `@DnAttribute` annotations in a class is specified, the DN will also be automatically calculated when creating and updating entries.
1025
1026
For update scenarios, this will also automatically take care of moving entries in the tree if attributes that are part of the distinguished name have changed.
0 commit comments