Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 4b5e6e19697b4465d5fa8f06b61d1e77102682f2
https://github.com/hibernate/hibernate-orm/commit/4b5e6e19697b4465d5fa8f0...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M documentation/src/test/java/org/hibernate/userguide/hql/HQLTest.java
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
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/internal/SqmTreePrinter.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
A
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmElementAggregateFunction.java
A
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmIndexAggregateFunction.java
R
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMaxElementPath.java
R
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMaxIndexPath.java
R
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMinElementPath.java
R
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMinIndexPath.java
M hibernate-core/src/test/java/org/hibernate/orm/test/map/MapIndexFormulaTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/collections/PluralAttributeMappingTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/ternary/TernaryTest.java
M
hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/gambit/EntityOfLists.java
M
hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/gambit/EntityOfMaps.java
Log Message:
-----------
introduce new syntax for aggregate functions applying to collections
max(element x.y), min(index x.y), sum(element x.y)
and rationalize the node types here
Commit: 3e8f1c67dff903fde928d240af26ba56190dc9a8
https://github.com/hibernate/hibernate-orm/commit/3e8f1c67dff903fde928d24...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/function/AvgFunction.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/CaseLeastGreatestEmulation.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/CaseWhenEveryAnyEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CastFunction.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/CastingConcatFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CountFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CurrentFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/DB2FormatEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/DerbyLpadEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/DerbyRpadEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/EveryAnyEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/FieldFunction.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/QuantifiedLeastGreatestEmulation.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerEveryAnyEmulation.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerFormatEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/SqlFunction.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampaddFunction.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampdiffFunction.java
M
hibernate-core/src/main/java/org/hibernate/dialect/function/TransactSQLStrFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/TrimFunction.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/FunctionExpression.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/ParameterMetadataImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheDisabledImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterNamedImpl.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryOptions.java
M
hibernate-core/src/main/java/org/hibernate/query/spi/SimpleHqlInterpretationImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/function/AbstractSqmSelfRenderingFunctionDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/function/FunctionRenderingSupport.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/function/NamedSqmFunctionDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/function/PatternBasedSqmFunctionDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingAggregateFunctionSqlAstExpression.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingFunctionSqlAstExpression.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/ConcreteSqmSelectQueryPlan.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/DomainParameterXref.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleDeleteQueryPlan.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleInsertQueryPlan.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleUpdateQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MatchingIdSelectionHelper.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MultiTableSqmMutationConverter.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/mutation/internal/temptable/RestrictedDeleteExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedDeleteHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedInsertHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedUpdateHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/UpdateExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/PatternRenderer.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/spi/JdbcParameterBySqmParameterAccess.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/FakeSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmTranslation.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/StandardSqmTranslation.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/FromClauseAccess.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/FunctionExpression.java
M hibernate-core/src/test/java/org/hibernate/orm/test/subquery/SubqueryTest.java
Log Message:
-----------
clean up lots of warnings by adding wildcards to raw types
also comment out some unused code
Commit: e6128551b36484ede3e9dcfb44ba41a9777707c6
https://github.com/hibernate/hibernate-orm/commit/e6128551b36484ede3e9dcf...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
M documentation/src/test/java/org/hibernate/userguide/hql/HQLTest.java
Log Message:
-----------
document new collection aggregate function syntax
and fix some other problems I found in the examples
Commit: 2e8bf3d1dfb641fd28f7675eb29a70706584f36e
https://github.com/hibernate/hibernate-orm/commit/2e8bf3d1dfb641fd28f7675...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
Log Message:
-----------
make 'element' and 'value' synonyms, along with 'index' and
'key'
Commit: 64d25f16d18eb9480339a2855f0032f4b75e518f
https://github.com/hibernate/hibernate-orm/commit/64d25f16d18eb9480339a28...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
Log Message:
-----------
make 'element' and 'value' synonyms in doc
Compare:
https://github.com/hibernate/hibernate-orm/compare/38fc97feb300...64d25f1...