File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
documentation/src/main/asciidoc/userguide/chapters/domain Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -542,8 +542,6 @@ The `property_id` is used to match the `id` column of either the `string_propert
542
542
while the `property_type` is used to match the `string_property` or the `integer_property` table.
543
543
544
544
The table resolving mapping is defined by the `metaDef` attribute which references an `@AnyMetaDef` mapping.
545
- Although the `@AnyMetaDef` mapping could be set right next to the `@Any` annotation,
546
- it's good practice to reuse it, therefore it makes sense to configure it on a class or package-level basis.
547
545
548
546
The `package-info.java` contains the `@AnyMetaDef` mapping:
549
547
@@ -558,7 +556,8 @@ include::{sourcedir}/any/package-info.java[tags=associations-any-meta-def-exampl
558
556
559
557
[NOTE]
560
558
====
561
- It is recommended to place the `@AnyMetaDef` mapping as a package metadata.
559
+ Although the `@AnyMetaDef` mapping could be set right next to the `@Any` annotation,
560
+ if you need to reuse it, it's good practice to configure it at the class or package level.
562
561
====
563
562
564
563
To see the `@Any` annotation in action, consider the next examples.
You can’t perform that action at this time.
0 commit comments