Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 5ae55d7bfb01d0ec8fca6f86067fd6d087ff08fd
https://github.com/hibernate/hibernate-orm/commit/5ae55d7bfb01d0ec8fca6f8...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-02 (Sun, 02 Jan 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SemanticQueryWalker.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/function/SqmFunctionRegistry.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmTreePrinter.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/InsertExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/spi/BaseSemanticQueryWalker.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
R
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCollate.java
A
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCollation.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlAstWalker.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Collate.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Collation.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Format.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/select/SortSpecification.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/CollateTests.java
Log Message:
-----------
redesign 'collate' and add tests
* and add tests and documentation for 'collate'
* much better and less-ambiguous syntax for collate(), consistent with cast() and treat()
* reimplement collate() using the function infrastructure
* implement collate() for HSQLDB
This feature was previously untested and at least partially broken, and was making a mess
of the HQL grammar.