From bc1ee4c23ac06a0ee2a7b81b8cb642bd99b67273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Wed, 26 Feb 2020 12:57:44 +0100 Subject: [PATCH] WIP Apply suggestions from code review will be squashed later Co-Authored-By: Georgios Andrianakis --- docs/src/main/asciidoc/hibernate-orm-panache.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/hibernate-orm-panache.adoc b/docs/src/main/asciidoc/hibernate-orm-panache.adoc index 83b43aecc7671a..0049e7819a1576 100644 --- a/docs/src/main/asciidoc/hibernate-orm-panache.adoc +++ b/docs/src/main/asciidoc/hibernate-orm-panache.adoc @@ -43,8 +43,8 @@ Does this look interesting? Read on! NOTE: the `list()` method might be surprising at first. It takes fragments of HQL (JP-QL) queries and contextualizes the rest. That makes for very concise but yet readable code. -NOTE: what you just see is the link:https://www.martinfowler.com/eaaCatalog/activeRecord.html[active record pattern], sometimes just called the entity pattern. -Hibernate with Panache also provides the more classical link:https://martinfowler.com/eaaCatalog/repository.html[repository pattern] via `PanacheRepository`. +NOTE: what was described above is essentially the link:https://www.martinfowler.com/eaaCatalog/activeRecord.html[active record pattern], sometimes just called the entity pattern. +Hibernate with Panache also allows for the use of the more classical link:https://martinfowler.com/eaaCatalog/repository.html[repository pattern] via `PanacheRepository`. == Solution @@ -395,7 +395,7 @@ List namesButEmmanuels = persons NOTE: The `stream` methods require a transaction to work. NOTE: The rest of the documentation show usages based on the active record pattern only, -but they can be done with the repository pattern as well. +but keep in mind that they can be performed with the repository pattern as well. The repository pattern examples have been omitted for brevity. == Advanced Query