Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: f7e12d49eda0a782df87aa1609d427f2b2d40345
https://github.com/hibernate/hibernate-orm/commit/f7e12d49eda0a782df87aa1...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/SharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/boot/SessionFactoryBuilder.java
M
hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryBuilderImpl.java
M
hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M
hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryBuilder.java
M
hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionLazyDelegator.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractDomainPath.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ColumnReference.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/FunctionExpression.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/OrderingExpression.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/OrderingSpecification.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ParseTreeVisitor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SelfRenderingOrderingExpression.java
M
hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java
A hibernate-core/src/main/java/org/hibernate/query/NullPrecedence.java
M hibernate-core/src/main/java/org/hibernate/query/Query.java
M hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java
A hibernate-core/src/main/java/org/hibernate/query/Sort.java
A hibernate-core/src/main/java/org/hibernate/query/SortOrder.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/HibernateCriteriaBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaOrder.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSearchOrder.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/spi/HibernateCriteriaBuilderDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/spi/SqmQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/NodeBuilder.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/NullPrecedence.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/SortOrder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/SqmInsertStrategyHelper.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/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmCteStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmSearchClauseSpecification.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSortSpecification.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/cte/SearchClauseSpecification.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/select/SortSpecification.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/ordered/ElementCollectionSortingTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/CriteriaOrderedSetAggregateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/order/OrderTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/SortSpecificationReversalTests.java
Log Message:
-----------
HHH-16815 more flexible sorting via Query API
- added Query.sort(SortOrder,SingularAttribute)
- added Query.sort(Sort...)
- added Sort class for convenience
- moved SortOrder to org.hibernate.query
(its package was @Incubating)
- move NullPrecedence enum
Commit: 1e46146b548fbd63f1ef026126451276bfee0cb2
https://github.com/hibernate/hibernate-orm/commit/1e46146b548fbd63f1ef026...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M documentation/src/main/asciidoc/introduction/Interacting.adoc
A hibernate-core/src/main/java/org/hibernate/query/Page.java
M hibernate-core/src/main/java/org/hibernate/query/Query.java
M hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/Sort.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java
Log Message:
-----------
HHH-16815 more convenient pagination via Query API
- add Page convenience class
- add Query.paginate(int, int)
- add Query.paginate(Page)
Commit: 49f890d781dfb5822c72ccc9003d6977c5777ec2
https://github.com/hibernate/hibernate-orm/commit/49f890d781dfb5822c72ccc...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacyDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
A hibernate-core/src/main/java/org/hibernate/dialect/NullOrdering.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/NullOrdering.java
Log Message:
-----------
move NullOrdering to the Dialect package where its usages are
Commit: c29db563b50e49081f98242ea8e4a5493f2ef7ed
https://github.com/hibernate/hibernate-orm/commit/c29db563b50e49081f98242...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/NullPrecedence.java
Log Message:
-----------
aesthetic improvements to NullPrecedence enum
Commit: f2d6373409d6e63b6d80e8c8246d40e2fc2a00e3
https://github.com/hibernate/hibernate-orm/commit/f2d6373409d6e63b6d80e8c...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractDomainPath.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ColumnReference.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/FunctionExpression.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/OrderingExpression.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/OrderingSpecification.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ParseTreeVisitor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SelfRenderingOrderingExpression.java
M
hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java
M hibernate-core/src/main/java/org/hibernate/query/NullPrecedence.java
A hibernate-core/src/main/java/org/hibernate/query/Order.java
M hibernate-core/src/main/java/org/hibernate/query/Page.java
M hibernate-core/src/main/java/org/hibernate/query/Query.java
M hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java
R hibernate-core/src/main/java/org/hibernate/query/Sort.java
A hibernate-core/src/main/java/org/hibernate/query/SortDirection.java
R hibernate-core/src/main/java/org/hibernate/query/SortOrder.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/HibernateCriteriaBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaOrder.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSearchOrder.java
M
hibernate-core/src/main/java/org/hibernate/query/criteria/spi/HibernateCriteriaBuilderDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/spi/SqmQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/NodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.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/SqmInsertStrategyHelper.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/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmCteStatement.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmSearchClauseSpecification.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSortSpecification.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/cte/SearchClauseSpecification.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/select/SortSpecification.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/ordered/ElementCollectionSortingTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/CriteriaOrderedSetAggregateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/order/OrderTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/SortSpecificationReversalTests.java
Log Message:
-----------
HHH-16815 finally settle on using a List or Order objects
Commit: 7227831d56026bf993519643b6437ad5894053c5
https://github.com/hibernate/hibernate-orm/commit/7227831d56026bf99351964...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaOrder.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSortSpecification.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/SortSpecificationReversalTests.java
Log Message:
-----------
HHH-16815 rename getSortOrder() -> getSortDirection()
Compare:
https://github.com/hibernate/hibernate-orm/compare/8b6404eae600...7227831...