Skip to content

Commit 4669827

Browse files
committed
add a link to the new blog post
1 parent 9facfbf commit 4669827

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

documentation/src/main/asciidoc/introduction/Advanced.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,9 @@ sessionFactory.inTransaction(session -> {
711711
Java lists and maps don't map very naturally to foreign key relationships between tables, and so we tend to avoid using them to represent associations between our entity classes.
712712
But if you feel like you _really_ need a collection with a fancier structure than `Set`, Hibernate does have options.
713713

714-
The first three options let us map the index of a `List` or key of a `Map` to a column, and are usually used with a `@ElementCollection`, or on the owning side of an association:
714+
TIP: For more detail about the use of these annotations, please refer to https://in.relation.to/2024/11/12/-what-collection/[this post on the Hibernate blog].
715+
716+
The first three options let us map the index of a `List` or key of a `Map` to a column, and are usually used with `@ElementCollection`, or on the owning side of an association:
715717

716718
.Annotations for mapping lists and maps
717719
[%breakable,cols="22,~,^13"]

0 commit comments

Comments
 (0)