Skip to content

Commit 0216ad4

Browse files
committed
Add a callout list to the Publisher listing in the Quarkus Data tutorial
The "Managed session" section has two listings, Publisher and Book, each with <1> and <2> markers, but only one callout list, under Book. A callout list attaches to the block directly above it, so the Publisher markers had no entries. Give each listing its own list, as the tutorial already does for the two classes in "Creating a Discount Service". Part of #56509
1 parent 382dc35 commit 0216ad4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/src/main/asciidoc/quarkus-data-hibernate-getting-started.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ public class Publisher extends ManagedEntity { // <1>
421421
}
422422
}
423423
----
424+
<1> `ManagedEntity` replaces `RecordEntity`. This tells Hibernate to track this entity in its persistence context.
425+
<2> The repository uses `ManagedRepository` instead of `RecordRepository`.
424426

425427
[source,java]
426428
----

0 commit comments

Comments
 (0)