Skip to content

Commit

Permalink
Update 04_panache.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored May 22, 2024
1 parent 8dfe2a9 commit 6b26dc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation/modules/ROOT/pages/04_panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[#quarkusp-demo-overview]
== Demo Overview

You'll learn how easy and productive is Quarkus with Hibernate with Panache. For this, we'll develop a simple CRUD REST API that handles information about fruits.
You'll learn how easy and productive Quarkus is with Hibernate with Panache. For this, we'll develop a simple CRUD REST API that handles information about fruits.

We'll use http://www.h2database.com[H2,window="_blank"] as our backing database in this section, but it's very easy to use other database engines with Quarkus as you will see in the Dev Services chapter. As an exercise for later, we suggest to try your favorite database engine with the documentation found https://quarkus.io/guides/datasource[here,window="_blank"].
Expand Down Expand Up @@ -57,7 +57,7 @@ quarkus extension add rest-jsonb jdbc-h2 hibernate-orm-panache smallrye-openapi
[INFO] ------------------------------------------------------------------------
----
You'll notice that by running this command the Quarkus maven plugin added some dependencies to your `pom.xml` file. And best of all: Quarkus will autodetect and apply the changes, and you don't even need to restart Quarkus!
You'll notice that by running this command the Quarkus Maven plugin added some dependencies to your `pom.xml` file. And best of all: Quarkus will autodetect and apply the changes, and you don't even need to restart Quarkus!
== Adding database properties to your configuration
Expand All @@ -75,7 +75,7 @@ quarkus.datasource.db-kind=h2
quarkus.hibernate-orm.database.generation=drop-and-create
----
NOTE: With <<Dev Services>> enabled, no JDBC URL needs to be provided in Dev Mode. In this case, we input the URL to ensure consistency across all application run modes.
NOTE: With <<Dev Services>> enabled, no JDBC URL needs to be provided in dev mode. In this case, we input the URL to ensure consistency across all application run modes.
== Create Fruit Entity
Expand Down Expand Up @@ -139,7 +139,7 @@ public class FruitResource {
}
----

Now we should everything in place to query our *GET* REST endpoint:
Now we should have everything in place to query our *GET* REST endpoint:

[.console-input]
[source,bash]
Expand Down

0 comments on commit 6b26dc0

Please sign in to comment.