Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 8a68ee49c153a0ac3b680495a187579caf9245cd
https://github.com/hibernate/hibernate-orm/commit/8a68ee49c153a0ac3b68049...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-27 (Mon, 27 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/SynchronizeableQuery.java
M hibernate-core/src/main/java/org/hibernate/procedure/ProcedureCall.java
M
hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java
M hibernate-core/src/main/java/org/hibernate/query/NativeQuery.java
M hibernate-core/src/main/java/org/hibernate/query/Query.java
M hibernate-core/src/main/java/org/hibernate/query/TupleTransformer.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/sql/spi/NativeQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
Log Message:
-----------
remove wildcards from APIs in Query hierarchy
I hate doing this but it's necessary since Query is often
used as a raw type, and the wildcards result in additional
compiler warnings at the usage site
Also clean up some other warnings I encountered in this code
Commit: 4ea59b4961dffa3199cb845902fa7e065dd247cd
https://github.com/hibernate/hibernate-orm/commit/4ea59b4961dffa3199cb845...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-27 (Mon, 27 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/Query.java
M hibernate-core/src/main/java/org/hibernate/query/QueryProducer.java
Log Message:
-----------
deprecate a bunch of methods of Query + QueryProducer
Commit: ac845bca3156b587b5a85309a17f5d3cb7667a7c
https://github.com/hibernate/hibernate-orm/commit/ac845bca3156b587b5a8530...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-27 (Mon, 27 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M
hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/query/QueryProducer.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryProducerImplementor.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/query/QueryAndSQLTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/QueryTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/formula/FormulaNativeQueryTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/EntityResultTests.java
M
hibernate-core/src/test/java/org/hibernate/test/sql/hand/query/NativeSQLQueriesTest.java
Log Message:
-----------
impl the new overload of createNativeQuery()
- and add a second new overload
- tolerate non-entity classes as arguments to these methods
- the overloads accept a result class, and return a typed Query<R>
Commit: 0bf2365955d8813711afdb67e9e0acdf297a17f0
https://github.com/hibernate/hibernate-orm/commit/0bf2365955d8813711afdb6...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-27 (Mon, 27 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M
hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/query/QueryProducer.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryProducerImplementor.java
Log Message:
-----------
fix signature of createQuery(CriteriaUpdate|CriteriaDelete)
Commit: 0b2a357670ae41aac326f99d9c8b38f825f23989
https://github.com/hibernate/hibernate-orm/commit/0b2a357670ae41aac326f99...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-27 (Mon, 27 Dec 2021)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/metamodel/MappingMetamodel.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/MappingMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/spi/MetamodelImplementor.java
Log Message:
-----------
add MappingMetamodel.isEntityClass() and clean up raw types
Compare:
https://github.com/hibernate/hibernate-orm/compare/82aff7cd8ad6...0b2a357...