diff --git a/documentation/src/main/asciidoc/querylanguage/Concepts.adoc b/documentation/src/main/asciidoc/querylanguage/Concepts.adoc index f69073d309..c865ff5449 100644 --- a/documentation/src/main/asciidoc/querylanguage/Concepts.adoc +++ b/documentation/src/main/asciidoc/querylanguage/Concepts.adoc @@ -3,10 +3,10 @@ This document describes Hibernate Query Language (HQL), which is, I suppose we could say, a dialect of the Java (now Jakarta) Persistence Query Language (JPQL). -Or is it the other way around? - [NOTE] ==== +Or is it the other way around? + JPQL was inspired by early versions of HQL, and is a proper subset of modern HQL. Here we focus on describing the complete, more powerful HQL language as it exists today. diff --git a/documentation/src/main/asciidoc/querylanguage/Hibernate_Query_Language.adoc b/documentation/src/main/asciidoc/querylanguage/Hibernate_Query_Language.adoc index 04fc4dad8b..da0b9998de 100644 --- a/documentation/src/main/asciidoc/querylanguage/Hibernate_Query_Language.adoc +++ b/documentation/src/main/asciidoc/querylanguage/Hibernate_Query_Language.adoc @@ -14,7 +14,7 @@ :example-dir-hql: {core-project-dir}/src/test/java/org/hibernate/orm/test/hql :extrasdir: extras -= A guide to Hibernate Query Language 6 += A Guide to Hibernate Query Language :title-logo-image: image:../../style/asciidoctor/images/org/hibernate/logo.png[] :toc: :toclevels: 3 diff --git a/documentation/src/main/asciidoc/querylanguage/Preface.adoc b/documentation/src/main/asciidoc/querylanguage/Preface.adoc index 2e86d6314a..dd6a650c37 100644 --- a/documentation/src/main/asciidoc/querylanguage/Preface.adoc +++ b/documentation/src/main/asciidoc/querylanguage/Preface.adoc @@ -1,3 +1,5 @@ +:introductionUrl: {versionDocBase}/querylanguage/html_single/Hibernate_Query_Language.html + [[preface]] == Preface @@ -11,5 +13,4 @@ At long last, HQL has a feature set to match that of modern dialects of SQL, and This document is a reference guide to the full feature set of the language, and is the only up-to-date source for those who wish to learn how to write HQL effectively in Hibernate 6. -But if you don't already know Hibernate, don't start here. -First, read _An introduction to Hibernate 6_, and then come back. +If you don't already know Hibernate, first read link:{introductionUrl}[A Guide to Hibernate 6]. \ No newline at end of file