reuse the query language chapter by reference

This commit is contained in:
Gavin 2023-05-12 01:31:20 +02:00 committed by Christian Beikov
parent 5c0434a7e0
commit ef481fb2ab
2 changed files with 3 additions and 4 deletions

View File

@ -130,3 +130,4 @@ include::Entities.adoc[]
include::Mapping.adoc[] include::Mapping.adoc[]
include::Interacting.adoc[] include::Interacting.adoc[]
include::Tuning.adoc[] include::Tuning.adoc[]
include::../userguide/chapters/query/hql/QueryLanguage.adoc[]

View File

@ -291,13 +291,11 @@ Hibernate features three complementary ways to write queries:
- the JPA _criteria query_ API, along with extensions, allowing almost any HQL query to be constructed programmatically via a typesafe API, and, of course - the JPA _criteria query_ API, along with extensions, allowing almost any HQL query to be constructed programmatically via a typesafe API, and, of course
- for when all else fails, _native SQL_ queries. - for when all else fails, _native SQL_ queries.
We don't need to discuss HQL in detail in this Introduction.
That's there's already a complete and very up-to-date description of the language in
the {hql}[User Guide].
[[hql-queries]] [[hql-queries]]
=== HQL queries === HQL queries
The query language is discussed in great detail below in <<query-language>>.
[[criteria-queries]] [[criteria-queries]]
=== Criteria queries === Criteria queries