From 8b9c68b8db102dedaac1e4b6a3fbd75c8e965cc9 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 30 Mar 2022 11:49:18 -0500 Subject: [PATCH] work on migration guide and 6.0 announcement --- design/working/6.0-posts.adoc | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/design/working/6.0-posts.adoc b/design/working/6.0-posts.adoc index 2f8cbe6141..fb5bc8c6e3 100644 --- a/design/working/6.0-posts.adoc +++ b/design/working/6.0-posts.adoc @@ -99,22 +99,40 @@ This was by far the biggest force behind 6.0 initially. - Attribute order -[[width-first]] -== Width-first fetching - -- examples mainly - - [[annotations]] == Annotations - type-safety +- `SqlTypes` - extension to `java.sql.Types` + + +[[query]] +== Query API + +- Parameter binding +- `Session#createSelectionQuery` +- `Session#createMutationQuery` +- others??? + + +[[sqm]] +== Semantic Query Model + +- HQL and Criteria +- selection of a single entity - de-dup +- set operations (union, intersect, except) +- set aggregations +- window functions +- Functions +- ILIKE support +- improved temporal support (arithmetic, etc) [[hql]] == HQL - poor and unmaintainable grammars +- Antlr 2 -> Antlr 4 [[criteria]] @@ -122,6 +140,10 @@ This was by far the biggest force behind 6.0 initially. - removal of legacy Criteria - no longer Criteria -> HQL -> Query +- `hibernate.criteria.copy_tree` (performance) +- improved handling of parameter vs. literal + + [[sql-ast]]