Skip to content

Commit d2e67cd

Browse files
committed
add more links to the Short Guide
1 parent 6b9d449 commit d2e67cd

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[[introduction]]
22
== Introduction
33

4+
:persistence: https://jakarta.ee/specifications/persistence/3.2/jakarta-persistence-spec-3.2
5+
:data: https://jakarta.ee/specifications/data/1.0/jakarta-data-1.0
6+
7+
48
Hibernate is usually described as a library that makes it easy to map Java classes to relational database tables.
59
But this formulation does no justice to the central role played by the relational data itself.
610
So a better description might be:
@@ -35,7 +39,7 @@ Developers often ask about the relationship between Hibernate and JPA, so let's
3539
[[hibernate-and-jpa]]
3640
=== Hibernate and JPA
3741

38-
Hibernate was the inspiration behind the _Java_ (now _Jakarta_) _Persistence API_, or JPA, and includes a complete implementation of the latest revision of this specification.
42+
Hibernate was the inspiration behind the _Java_ (now _Jakarta_) _Persistence API_, or JPA, and includes a complete implementation of the latest revision of link:{persistence}[this specification].
3943

4044
.The early history of Hibernate and JPA
4145
****
@@ -669,7 +673,7 @@ Alternatively, if CDI isn't available, we may directly instantiate the generated
669673

670674
[TIP]
671675
====
672-
The Jakarta Data specification now formalizes this approach using standard annotations, and our implementation of this specification, Hibernate Data Repositories, is built into <<generator,Hibernate Processor>>.
676+
The link:{data}[Jakarta Data specification] now formalizes this approach using standard annotations, and our implementation of this specification, Hibernate Data Repositories, is built into <<generator,Hibernate Processor>>.
673677
You probably already have it available in your program.
674678
675679
Unlike other repository frameworks, Hibernate Data Repositories offers something that plain JPA simply doesn’t have: full compile-time type safety for your queries. To learn more, please refer to link:{doc-data-repositories-url}[Introducing Hibernate Data Repositories].

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

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
[[preface]]
22
== Preface
33

4+
:persistence: https://jakarta.ee/specifications/persistence/3.2/jakarta-persistence-spec-3.2
5+
:data: https://jakarta.ee/specifications/data/1.0/jakarta-data-1.0
6+
47
Hibernate 6 was a major redesign of the world's most popular and feature-rich ORM solution.
58
The redesign touched almost every subsystem of Hibernate, including the APIs, mapping annotations, and the query language.
69
This new Hibernate was suddenly more powerful, more robust, more portable, and more type safe.
710

8-
Hibernate 7 builds on this foundation, adds support for JPA 3.2, and introduces Hibernate Data Repositories, an implementation of the Jakarta Data specification.
11+
Hibernate 7 builds on this foundation, adds support for link:{persistence}[JPA 3.2], and introduces https://hibernate.org/repositories/[Hibernate Data Repositories], an implementation of the link:{data}[Jakarta Data specification].
912
Taken together, these enhancements yield a level of compile-time type safety--and resulting developer productivity--which was previously impossible.
1013
Hibernate Data Repositories offers truly seamless integration of the ORM solution with the persistence layer, obsoleting older add-on repository frameworks.
1114

12-
Hibernate and Hibernate Reactive are core components of Quarkus 3, the most exciting new environment for cloud-native development in Java, and Hibernate remains the persistence solution of choice for almost every major Java framework or server.
15+
Hibernate ORM and https://hibernate.org/reactive/[Hibernate Reactive] are core components of https://quarkus.io[Quarkus 3], the most exciting new environment for cloud-native development in Java, and Hibernate remains the persistence solution of choice for almost every major Java framework or server.
1316

1417
Unfortunately, the changes in Hibernate 6 also obsoleted much of the information about Hibernate that's available in books, in blog posts, and on stackoverflow.
1518

16-
1719
This guide is an up-to-date, high-level discussion of the current feature set and recommended usage.
1820
It does not attempt to cover every feature and should be used in conjunction with other documentation:
1921

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ We've actually already seen its handiwork in the code examples <<main-hibernate,
99
.Hibernate Processor
1010
****
1111
12-
:generator: https://hibernate.org/orm/tooling/
12+
:generator: https://hibernate.org/orm/processor/
1313
:generator-guide: {doc-user-guide-url}#tooling-modelgen
1414
15-
{generator}[Hibernate Processor], the annotation processor formerly known as the Metamodel Generator, began its life as a code generator for what JPA calls a _static metamodel_.
15+
{generator}[Hibernate Processor], the annotation processor formerly known as the Metamodel Generator, began its life as a code generator for what JPA calls a https://jakarta.ee/specifications/persistence/3.2/jakarta-persistence-spec-3.2#a6072[_static metamodel_].
1616
That is, it produces a typed model of the persistent classes in our program, giving us a type safe way to refer to their attributes in Java code.
1717
In particular, it lets us specify <<entity-graph,entity graphs>> and <<criteria-queries,criteria queries>> in a completely type-safe way.
1818

0 commit comments

Comments
 (0)