grails / grails-database-migration

Grails® framework Database Migration Plugin
Apache License 2.0
98 stars 116 forks source link

fix(deps): update dependency org.hibernate:hibernate-core to v6 - autoclosed #354

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 8 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.hibernate:hibernate-core (source) 5.6.15.Final -> 6.6.0.Final age adoption passing confidence

Release Notes

hibernate/hibernate-orm (org.hibernate:hibernate-core) ### [`v6.6.0.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-660Final-August-08-2024) https://hibernate.atlassian.net/projects/HHH/versions/32329 \*\* Bug \* \[HHH-18463] - Add AzureDialect \* \[HHH-18451] - CharBooleanConverter : Boolean null value conversion limited by the BooleanJavaType check condition \* \[HHH-18403] - DB2iDialect should not support Update Returning \* \[HHH-18399] - Unable to persist self-referencing entity with [@​OneToOne](https://redirect.github.com/OneToOne) and [@​JoinTable](https://redirect.github.com/JoinTable) \* \[HHH-18391] - EntityGraphs are not considering Embedded attributes \* \[HHH-18378] - Avoid reusing existing joins for entity-graph fetches if they're included in the where clause \* \[HHH-18373] - When executing update with Criteria API by setting InheritanceType.JOINED, InlineMutationStrategy, NPE error occurs \* \[HHH-18309] - Oracle LimitHandler does not seem to handle maxrows correctly for native queries \* \[HHH-17997] - Querying an Entity with CacheConcurrencyStrategy.READONLY throws UnsupportedOperationException: Can't update readonly object \* \[HHH-17847] - StoredProcedureQuery map result set incorrectly when having INOUT param \* \[HHH-17465] - Incorrect metamodel for shared version attribute in [@​MappedSuperclass](https://redirect.github.com/MappedSuperclass) ### [`v6.5.2.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.5.1...6.5.2) ### [`v6.5.1.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.5.0...6.5.1) ### [`v6.5.0.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.8...6.5.0) ### [`v6.4.10.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.9...6.4.10) ### [`v6.4.9.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.8...6.4.9) ### [`v6.4.8.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.7...6.4.8) ### [`v6.4.7.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.6...6.4.7) ### [`v6.4.6.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.5...6.4.6) ### [`v6.4.5.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.4...6.4.5) ### [`v6.4.4.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.3...6.4.4) ### [`v6.4.3.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.2...6.4.3) ### [`v6.4.2.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.4.1...6.4.2) ### [`v6.4.1.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-641Final-December-15-2023) https://hibernate.atlassian.net/projects/HHH/versions/32216 \*\* Bug \* \[HHH-17570] - Wrong name provided when checking Oracle autonomous JSON database \* \[HHH-17561] - NullPointerException at OracleServerConfiguration class \* \[HHH-17555] - equals hashcode combined with naturalId \* \[HHH-17553] - java.util.ConcurrentModificationException: null when loading an entity \* \[HHH-17551] - Gradle Enterprise improvements \* \[HHH-17528] - Explicit selection of an [@​Embeddable](https://redirect.github.com/Embeddable) property containing associated collections doesn't work \* \[HHH-17525] - StackOverflowError when using [@​ManyToMany](https://redirect.github.com/ManyToMany) with composite id \* \[HHH-17520] - Schema creation fails with interval second data type on PostgreSQL \* \[HHH-17519] - Initializing a lazy association with a non aggregate id causes a NPE \* \[HHH-17515] - DynamicInstantiationResult wrong java type constructor selected \* \[HHH-17499] - SemanticException when querying embedded id entity with positional parameter \* \[HHH-17494] - Metamodel generator produces an uncompilable class when an EntityGraph name contains a comma \* \[HHH-17491] - UnknownEntityTypeException thrown when multiple subclasses define an attribute with the same name and one is a MappedSuperclass \* \[HHH-17489] - ConcurrentModificationException after upgrading to 6.4.0 \* \[HHH-17466] - Exception on query: Could not convert 'java.util.Locale' to 'java.util.Locale' using 'org.hibernate.type.descriptor.java.LocaleJavaType' to wrap \* \[HHH-17464] - 6.4.0 regression: NullPointerException in DefaultEvictEventListener#onEvict \* \[HHH-17456] - java.util.UnknownFormatConversionException thrown why logging set to TRACE \* \[HHH-17445] - Subquery correlated path expressions do not work with nullness predicates \* \[HHH-17418] - Bytecode enchanced read accessor for a final field uses "missing" writer method \* \[HHH-17416] - Using tuples in WHERE clause throws SemanticException \* \[HHH-17413] - Invalid SQL with TYPE() function and CASE expression in SELECT clause \* \[HHH-17408] - Unproxying leads to uninitialized one-to-one associations in some cases involving polymorphism \* \[HHH-17407] - AssertionError when using JpaEntityJoin with correlated subqery if criteria copy tree is enabled \* \[HHH-17405] - Cannot resolve path of generic mapped-superclass association path \* \[HHH-17402] - UnknownEntityTypeException: Unable to locate persister - when comparing generic interface ToOne attribute to parameter \* \[HHH-17397] - Count with right join returns count on the left entity although requested by the right one \* \[HHH-17395] - Refresh with PESSIMISTIC_WRITE ignored for lazy loaded entity \* \[HHH-17393] - Incorrect return type for List attribute, wrap in additional list \* \[HHH-17392] - UnsupportedOperationException when using row_number() window function without top level GROUP BY \* \[HHH-17391] - AssertionError when using row_number() window function with ORDER BY \* \[HHH-17387] - Can't use EAGER ManyToOne on parent abstract class of joined table entity \* \[HHH-17379] - Right join does not return records from the right table if there is condition on ID field and there's no matching record in the from clause \* \[HHH-17359] - Query Cache contains null values for entity associations when entity was already loaded \* \[HHH-17334] - Duplicated columns when updating indexed [@​ElementCollection](https://redirect.github.com/ElementCollection) with non updatable fields \* \[HHH-17293] - Schema validation fails on postgres interval seconds type \* \[HHH-17280] - UnknownTableReferenceException in subquery selecting embeddable foreign key \* \[HHH-16967] - Missing join on inheritance parent table to validate [@​Where](https://redirect.github.com/Where) condition \* \[HHH-16756] - orphanRemoval does not work when bytecode enhancement is enabled \* \[HHH-16306] - CountExpressionTest.testCountDistinctTuple fails on Sybase \* \[HHH-16100] - Dynamic-map entity mode does not register a column for one-to-one associations \* \[HHH-1645] - refresh with LockMode on an unitialized proxy does not work \*\* Improvement \* \[HHH-17554] - No join on the table of the parent class with JOINED inheritance strategy when the select not contains a column used in [@​Where](https://redirect.github.com/Where) or [@​SQLRestriction](https://redirect.github.com/SQLRestriction) \* \[HHH-16809] - Add JavaType#createArray \*\* Task \* \[HHH-17565] - Add testing for JDK 22-ea \* \[HHH-17546] - Update Cockroach CI testing to 23.1.12 \* \[HHH-17545] - Update SAP HANA JDBC driver to 2.19.11 \* \[HHH-17544] - Update SAP HANA CI testing to 2.00.072.00.20231123.1 \* \[HHH-17543] - Update DB2 CI testing to 11.5.9.0 \* \[HHH-17542] - Update DB2 JDBC driver to 11.5.9.0 \* \[HHH-17541] - Update SQL Server JDBC driver to 12.4.2 ### [`v6.4.0.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-640Final-November-23-2023) https://hibernate.atlassian.net/projects/HHH/versions/32212 \*\* Bug \* \[HHH-17454] - SemanticException caused by type check when comparing generic path to parameter expression \* \[HHH-17428] - Parameter place holder should start from 1 in StandardTemporaryTableExporter \* \[HHH-17415] - NullPointerException: EntityValuedPathInterpretation - getNavigablePath() \* \[HHH-17412] - Type comparison error due to surprising javac method selection \* \[HHH-17411] - Fetch join on treated join leads to owner not selected error \* \[HHH-17386] - Type inference source is not reset for top level predicates \* \[HHH-17384] - OneToMany association with [@​NotFound](https://redirect.github.com/NotFound) results in SQL with different JOIN-type for SELECT (LEFT JOIN) and COUNT (JOIN) \* \[HHH-17383] - Association is null in lazy initialized element collection \* \[HHH-17382] - Dynamic instantiation leads to superclass fields not found when using injection \* \[HHH-17381] - fix wrong groupId in Compatibility.adoc \* \[HHH-17380] - Persisting an entity with a non generated id and [@​MapsId](https://redirect.github.com/MapsId) throws PropertyValueException \* \[HHH-17370] - ServiceException: Unable to create requested service \[org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Cannot invoke "org.hibernate.resource.jdbc.spi.JdbcObserver.jdbcConnectionAcquisitionEnd(java.sql.Connection)" because "this.observer" is null \* \[HHH-17344] - DB2zDialect NullPointerException \* \[HHH-17328] - Retrieve entity using entity graph not adding type in the where clause for [@​Inheritance](https://redirect.github.com/Inheritance)(strategy = InheritanceType.SINGLE_TABLE) \* \[HHH-17313] - Session#setDefaultReadOnly is ignored by named queries \* \[HHH-17308] - AssertionError when mixing [@​SQLSelect](https://redirect.github.com/SQLSelect) and composite ID \* \[HHH-17299] - AssertionError in DiscriminatorPathInterpretation when treating a path with the same subtype \* \[HHH-17294] - Non-Embeddable JSON objects are not marked as dirty when modified \* \[HHH-17292] - MappedSuperclass with more than 1 subclass level leads to "UnknownPathException: Could not resolve attribute" \* \[HHH-17102] - [@​SqlResultSetMapping](https://redirect.github.com/SqlResultSetMapping) doesn’t work with [@​Inheritance](https://redirect.github.com/Inheritance)(strategy = InheritanceType.JOINED) \*\* Deprecation \* \[HHH-17441] - Deprecate [@​Comment](https://redirect.github.com/Comment) \*\* Improvement \* \[HHH-17425] - Introduce new configuration parameters for offline Dialect initialization \* \[HHH-17424] - Have Dialect manage more of ExtractedDatabaseMetadata \* \[HHH-17417] - Workaround Oracle driver issue to reduce connection creation \* \[HHH-17409] - Support offset without limit in AbstractSimpleLimitHandler and Oracle12LimitHandler \* \[HHH-17389] - Add getQueryHintString() for PostgreSQLDialect \* \[HHH-17372] - Endless recursion between default implementations of SelectionQuery.getResultStream() and SelectionQuery.stream() \* \[HHH-17355] - Smoothen rough edges with array functions \* \[HHH-17340] - Fix typos in javadoc \* \[HHH-17023] - Add support for Altibase dialect \* \[HHH-15074] - Allow partial composite id generation for EmbeddedId \*\* New Feature \* \[HHH-17357] - Support pgvector types and functions \* \[HHH-17210] - Expose custom JFR events \*\* Sub-task \* \[HHH-17347] - Support for JDK which do not support JFR events \*\* Task \* \[HHH-17390] - Change scope of AbstyractEntityInitializer#resolveInstance \* \[HHH-17367] - Add links to tutorials in documentation \* \[HHH-17362] - Define dependencies of hibernate-jpamodelgen as api \* \[HHH-17350] - Work on hibernate-models, XSD and JAXB ### [`v6.3.2.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.3.1...6.3.2) ### [`v6.3.1.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-631Final-September-19-2023) https://hibernate.atlassian.net/projects/HHH/versions/32188 \*\* Bug \* \[HHH-17221] - AssertionError initializing a collection with FetchMode.SUBSELECT and IdClass having only one field \* \[HHH-17203] - ElementCollection doesn't consider [@​Where](https://redirect.github.com/Where) annotation on delete of elements \* \[HHH-17202] - ArrayStoreException for single field id class entity collection batch loading \* \[HHH-17201] - Unexpected value type exception for unordered multi id Load with ordered return disable \* \[HHH-17189] - Audited annotations are ignored on embeddable super types \* \[HHH-17177] - JDBC type code is ignored in XML mapping for an id attribute \* \[HHH-17173] - Getting one-to-one association through a referenece to a bytecode enhanced entity fails \* \[HHH-17168] - Investigate failures on db10\_5 and Cockrachdb of FunctionTests.testCastBinaryWithLength \* \[HHH-17167] - Unable to locate parameter for RESTRICT - DELETE error when removing entity with RowId \* \[HHH-17166] - query methods returning primitive types incorrectly inferred to be mutation query methods \* \[HHH-17165] - short method names in metamodel generator cause SIOBE \* \[HHH-17163] - persist() should throw JPA's EntityExistsException if passed detached instance \* \[HHH-17159] - java.lang.StackOverflowError during Update on Entity with Embeddable and JSON \* \[HHH-17156] - NPE when an Embeddable column is reused in another class related by inheritance \* \[HHH-17154] - NullPointerException is thrown when constructing EntityManagerFactoryBuilderImpl \* \[HHH-17135] - CriteriaQuery error passing nullLiteral with entity type class \* \[HHH-17131] - Regression in entity streams with associated collections resulting in result duplication \* \[HHH-17105] - SQL clause from [@​WhereJoinTable](https://redirect.github.com/WhereJoinTable) is no longer used for DELETE queries (6.2 regression) \* \[HHH-17104] - Bug with max() request inside projection \* \[HHH-17100] - CustomType wrongly calls UserType#disassemble \* \[HHH-17080] - \[Envers] AuditReader.getRevisionNumberForDate(LocalDateTime) uses Epoch Seconds instead of Epoch Millis \* \[HHH-17079] - NPE when using CompositeUserType with generic fields in Hibernate 6 \* \[HHH-17049] - Bytecode Enhancement, extra records created for associations created in constructor \* \[HHH-16945] - CTE query cycle attribute evaluated incorrectly on MSSQL using collation "Latin1\_General_CI_AS" \* \[HHH-15968] - Sporadic ClassCastException when querying for Set. \*\* Improvement \* \[HHH-17220] - Avoid runtime lookups of JdbcService from TableGenerator and TableStructure \* \[HHH-17171] - JPA and multiple query roots \* \[HHH-16768] - HQL parsed predicates don't validate type comparability \*\* Task \* \[HHH-17204] - Relax visibility of some methods for reactive upsert() support \* \[HHH-17187] - Avoid 0 byte trailing UUID's in tests \* \[HHH-17160] - Gradle 8.3 upgrade \* \[HHH-17087] - Update container images to the latest version ### [`v6.3.0.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-630Final-August-31-2023) https://hibernate.atlassian.net/projects/HHH/versions/32177 \*\* Bug \* \[HHH-17116] - AssertionError when using lateral join to subquery if criteria tree copy is enabled \* \[HHH-17085] - SQLGrammarException when selecting property of grouped join association in HyperSQL and PostgreSQL \* \[HHH-17081] - Loading an entity which uses joined inheritance fails if two or more implementations have the same association property name \* \[HHH-17078] - Memory leak in ScrollableResultsConsumer \* \[HHH-17075] - Lazy loading of association with non-PK referencedColumnName always yields null when bytecode enhancement is enabled \* \[HHH-17074] - Type inference in duration arithmetic is wrong \* \[HHH-17072] - Tenant Id defined in XML mapping is ignored \* \[HHH-17071] - Basic Collection of 'Converted' Embeddables stopped working with 6.2 \* \[HHH-17064] - Fetch mode select causes StackOverflowError if used together with fetch type lazy \* \[HHH-17046] - SchemaManager.truncateMappedObjects() does not repopulate table generators \* \[HHH-17045] - Unable to locate parameter for RESTRICT - UPDATE error when updating entity with RowId \* \[HHH-17041] - Embeddable and Generics throws IllegalArgumentException \* \[HHH-17039] - Variable name confusion in documentation \* \[HHH-17035] - Bytecode enhancement leads to StackOverflowError with specific setup involving different generic parameter names \* \[HHH-17034] - Bytecode enhancement leads to broken constructor for a generic embedded field in a twice removed MappedSuperclass \* \[HHH-17033] - Invalid SQL generated when implicit joins are used \* \[HHH-17019] - EntityListener is not triggered for a LAZY loaded association when using bytecode enhancement \* \[HHH-17016] - Using a legacy MySQL dialect leads to an error \* \[HHH-17014] - Complete "Mapping Maps" chapter of User Guide \* \[HHH-17009] - Hibernate 6.2 migration guide does explain how to deal with removal of AbstractPostInsertGenerator (affects IdentityGenerator) \* \[HHH-17006] - Query for enum with IS NULL fails with NullPointerException (org.hibernate.metamodel.mapping.JdbcMapping.getJdbcValueBinder()) \* \[HHH-17004] - Nullpointer wenn using setFirstResult and setMaxResults in diffrent combinations \* \[HHH-17001] - An "on"-clause referencing the affected join node causes a StackOverflowException \* \[HHH-17000] - Do not keep static references to log levels \* \[HHH-16997] - Embedded components in HibernateProxy are not initilized when entity has reference to another entity of the same type \* \[HHH-16989] - 'cast(string as String(10))' & 'cast(string as Binary(10))' broken on MySQL \* \[HHH-16988] - AssertionError in AbstractSqmPath.copyTo when using subquery correlated to root with more than 1 level in the class hierarchy \* \[HHH-16979] - SQLGrammarException for JOINED entity with additional join in query \* \[HHH-16977] - NullPointerException in EntityEntryContext.downgradeLocks \* \[HHH-16970] - Orphan removal not working in [@​Embeddable](https://redirect.github.com/Embeddable) for FetchType.EAGER collections \* \[HHH-16968] - StackOverflowError when using NaturalIdLoadAccess and bi-directional association \* \[HHH-16966] - StackOverFlowError with [@​ManyToOne](https://redirect.github.com/ManyToOne) and [@​Proxy](https://redirect.github.com/Proxy)( lazy=false ) \* \[HHH-16962] - General documentation improvements \* \[HHH-16959] - Fail to batch delete entities with nested embeddeds \* \[HHH-16952] - Bytecode enhancement now requires embedded component to be [@​Embeddable](https://redirect.github.com/Embeddable) \* \[HHH-16939] - Optimistic and Pessimistic Force Increment Update Statements are not committed when using a batch \* \[HHH-16938] - Meta annotation [@​AnyDiscriminatorValue](https://redirect.github.com/AnyDiscriminatorValue) does not work \* \[HHH-16937] - Persisting entity with nullable [@​Any](https://redirect.github.com/Any) field throws “not-null property references a null or transient value” \* \[HHH-16918] - Can't use the the primary id column as the joincolumn for [@​Any](https://redirect.github.com/Any) association \* \[HHH-16911] - MapBackedClassValue ClassLoader leak \* \[HHH-16901] - Embedded field in entity association from composite key not correctly instantiated \* \[HHH-16891] - better typechecking of HQL arithmetic expressions \* \[HHH-16878] - Invalid SQL generated for mutation when using association with [@​NotFound](https://redirect.github.com/NotFound) \* \[HHH-16825] - Cascading an entity with a composite key causes NullPointerException in AbstractClassJavaType.extractHashCode \* \[HHH-16823] - support for 'nvarchar' on MySQL 5.7 \* \[HHH-16819] - JAKARTA_JPA_GROUP_PREFIX is pointing towards incorrect value \* \[HHH-16816] - Hibernate 6.2 could not execute certain delete statements \* \[HHH-16798] - ClassCastException in Hibernate 6 when "join fetch" is used in a query with entity inheritance \* \[HHH-16766] - Unable to fully load entity with IdClass lazily or with max fetch depth \* \[HHH-16759] - Merge fails when entity has an Embedded Java record ### [`v6.2.31.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.30...6.2.31) ### [`v6.2.28.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.27...6.2.28) ### [`v6.2.27.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.26...6.2.27) ### [`v6.2.26.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.25...6.2.26) ### [`v6.2.25.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.24...6.2.25) ### [`v6.2.24.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.23...6.2.24) ### [`v6.2.23.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.22...6.2.23) ### [`v6.2.22.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.21...6.2.22) ### [`v6.2.21.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.20...6.2.21) ### [`v6.2.20.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.19...6.2.20) ### [`v6.2.19.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.18...6.2.19) ### [`v6.2.18.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.17...6.2.18) ### [`v6.2.17.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.16...6.2.17) ### [`v6.2.16.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.15...6.2.16) ### [`v6.2.15.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.14...6.2.15) ### [`v6.2.14.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.13...6.2.14) ### [`v6.2.13.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.12...6.2.13) ### [`v6.2.12.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.11...6.2.12) ### [`v6.2.9.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.8...6.2.9) ### [`v6.2.8.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.7...6.2.8) ### [`v6.2.7.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.6...6.2.7) ### [`v6.2.6.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.5...6.2.6) ### [`v6.2.5.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.4...6.2.5) ### [`v6.2.4.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.3...6.2.4) ### [`v6.2.3.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.2...6.2.3) ### [`v6.2.2.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.1...6.2.2) ### [`v6.2.1.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.2.0...6.2.1) ### [`v6.2.0.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.1.7...6.2.0) ### [`v6.1.7.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.1.6...6.1.7) ### [`v6.1.6.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.1.5...6.1.6) ### [`v6.1.5.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.1.4...6.1.5) ### [`v6.1.4.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.1.3...6.1.4) ### [`v6.1.3.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.1.2...6.1.3) ### [`v6.1.2.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-612Final-August-03-2022) https://hibernate.atlassian.net/projects/HHH/versions/32087 \*\* Bug \* \[HHH-15430] - Allow use of [@​Enumerated](https://redirect.github.com/Enumerated) on basic collection \* \[HHH-15428] - Converters for BasicCollectionType don't work \* \[HHH-15423] - [@​Any](https://redirect.github.com/Any) discriminated association fails to be implicitly fetched due to UnsupportedOperationException \* \[HHH-15420] - Getting Started Guide Code does not build \* \[HHH-15418] - Composite primary key with NativeQuery & alias not working \* \[HHH-15417] - UUID with AttributeConverter, merge throws ClassCastException \* \[HHH-15414] - For Oracle Dialect from version 8 Envers should not generate new revision when database replaces empty string with NULL during INSERT or UPDATE statements \* \[HHH-15413] - For Oracle Dialect from version 8 Envers should use an ordered sequence \* \[HHH-15406] - Tests annotated with org.hibernate.testing.RequiresDialect having as value deprecated dialect are not executed \* \[HHH-15403] - Likely Statement leak on invoking a stored procedure \* \[HHH-15396] - Quick Start guide, hibernate-tutorials.zip link is broken \* \[HHH-15395] - HibernateCriteriaBuider#power(Expression\ x, Number y) throws ClassCastException \* \[HHH-15392] - Reinstantiate support for Character values for like expression escape character \* \[HHH-15391] - StackOverflow when applying a load entity graphs to a query \* \[HHH-15390] - Calling SqmQuery#getSqmStatement()#toHqlString() causes ClassCastExpection when using distinct in Criteria or HQL query \* \[HHH-15379] - NPE building mapping from HBM for collections targeting a class that does not have an HBM mapping \* \[HHH-15371] - Envers failure when run under SecurityManager \* \[HHH-15323] - [@​AnyDiscriminator](https://redirect.github.com/AnyDiscriminator) Unable to filter a polymorphic relationship in a query \* \[HHH-15218] - [@​OptimisticLocking](https://redirect.github.com/OptimisticLocking)(DIRTY) leads to wrong query during delete of circular reference \*\* Improvement \* \[HHH-15415] - Jackson and Jakarta Jsonb custom types to allow GraalVM compilation \*\* New Feature \* \[HHH-15352] - ScrollableResults.setFetchSize() \*\* Task \* \[HHH-15412] - Cleanup: remove reflection keeping JDK8 compatibility afloat in AggregatedServiceLoader \* \[HHH-15411] - Introduce an system property to fully disable Hibernate's use of a system SecurityManager \* \[HHH-15409] - Restore lazy initialization semantics for MetadataSources#xmlMappingBinderAccess \* \[HHH-15408] - QueryEngine to be more defensive with passed parameters \* \[HHH-15407] - Need to expose more internal state from MetadataImpl to allow copies of metadata instances \* \[HHH-15404] - Move annotation to intended package: org.hibernate.Remove (from org.hibernate.annotations.Remove) \* \[HHH-15322] - Allow JNDI lookups using the osgi scheme ### [`v6.1.1.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-611Final-July-01-2022) https://hibernate.atlassian.net/projects/HHH/versions/32080 \*\* Bug \* \[HHH-15369] - UnknownTableReferenceException when two subclasses have same field with different type \* \[HHH-15361] - Update assignment type check should allow subtypes \* \[HHH-15360] - Listagg with nulls clause emulation in H2 before 2.0 \* \[HHH-15358] - [@​Where](https://redirect.github.com/Where) annotation with globally_quoted_identifiers causes Unable to determine TableReference Exception \* \[HHH-15357] - ClassCastException when selecting map key FK part \* \[HHH-15354] - NPE building mapping from HBM for associations targeting a non existing entity \* \[HHH-15349] - Comparing entity join alias with collection part fails \* \[HHH-15347] - Parent identity check in NavigablePath#relativize is too strict \* \[HHH-15346] - [@​ManyToOne](https://redirect.github.com/ManyToOne) associations not loaded correctly with default EAGER and batch fetch property set \* \[HHH-15343] - NPE in type determination for case expression returning null literal \* \[HHH-15342] - Inappropriate variation of HQL left join to SQL inner join \* \[HHH-15341] - Disallow transient entities as parameters \* \[HHH-15339] - Association in embedded id initialized to null when selected \* \[HHH-15338] - Impossible to give same path expression multiple aliases \* \[HHH-15331] - Constructor expressions in the SELECT clause ignores attribute converter \* \[HHH-15324] - Hibernate (6.0.2) Regression. Sets Legacy java.persistence properties, then logs deprecation warnings on these which spams log \* \[HHH-15314] - Hibernate Gradle plugin is not working for Kotlin projects \*\* Improvement \* \[HHH-15367] - Lift embedded/id-class to-one selection limitation for from clause subqueries \* \[HHH-15329] - Remove workaround for HHH-10382 \* \[HHH-15325] - Avoid allocations from BitSet.stream() in AbstractEntityPersister.resolveDirtyAttributeIndexes() ### [`v6.1.0.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-610Final-June-07-2022) https://hibernate.atlassian.net/projects/HHH/versions/32066 \*\* Bug \* \[HHH-15316] - Session.createQuery() doesn't accept JpaCriteriaInsertSelect \* \[HHH-15297] - Invalid Automatic-Module-Name org.hibernate.orm.community-dialects \* \[HHH-15294] - Type issues in CockroachDB dialect \* \[HHH-15293] - CockroachDB BYTES type does not have a length specification \* \[HHH-15291] - ClassCastException Regression in CriteriaBuilder \* \[HHH-15288] - Switch to SMALLINT as recommended type for enums \* \[HHH-15286] - Query with a Composite Identifier ([@​IdClass](https://redirect.github.com/IdClass)) throws an exception \* \[HHH-15285] - Calling getJavaType() of [@​ElementCollection](https://redirect.github.com/ElementCollection) with basic types returns wrong type \* \[HHH-15283] - NullPointerException from EntityManager.createNamedNativeQuery(…) \* \[HHH-15281] - INSERTs/UPDATEs no longer executed as JDBC Batch statements if hibernate.temp.use_jdbc_metadata_defaults is set to false \* \[HHH-15279] - NPE with Id on OneToOne referencing entity with multi-level EmbeddedId \* \[HHH-15278] - NPE when NULL is used in a query projection \* \[HHH-15270] - Inconsistent precedence of orm.xml implicit catalog over "default_catalog" in XML-mapped entities \* \[HHH-15269] - Update NativeQuery unable to use h-schema placeholder, just emits placeholder contents into SQL \* \[HHH-15267] - Some cache objects aren't implement Serializable interface \* \[HHH-15266] - NullPointerException on \* \[HHH-15265] - SchemaExport.execute does not add the configured schema to comments \* \[HHH-15263] - [@​NamedQuery](https://redirect.github.com/NamedQuery) is not supported with UPDATE statement \* \[HHH-15260] - Criteria query is unable to determine TableReference when combining subquery with join \* \[HHH-15258] - Orphan removal for OneToMany relations is broken when used with GenerationType.IDENTITY \* \[HHH-15256] - Query NPE when using ":param IS NULL" with a Left Join \* \[HHH-15255] - Fix org.hibernate.orm.test.batch.BatchTest \* \[HHH-15153] - [@​OneToOne](https://redirect.github.com/OneToOne) does not support [@​EmbeddedId](https://redirect.github.com/EmbeddedId) \* \[HHH-15134] - Update a bytecode enhanced Entity with a Version attribute causes OptimisticLockException \* \[HHH-15010] - [@​CreationTimestamp](https://redirect.github.com/CreationTimestamp) and [@​UpdateTimestamp](https://redirect.github.com/UpdateTimestamp) documentation have an incomplete list of supported field types \*\* Improvement \* \[HHH-15300] - Unnecessary memory usage detected in SqlStatementLogger.logSlowQuery() \* \[HHH-15292] - escape special html chars in JavaDoc \* \[HHH-15276] - Introduce ConverterRegistration annotation \* \[HHH-15259] - Explicitly add JavaDoc to make [@​deprecated](https://redirect.github.com/deprecated) hint visible in Eclipse \*\* New Feature \* \[HHH-15251] - Unified mapping XSD based on JPA 3.1 \* \[HHH-10999] - Arrays datatype support via java.sql.Array \* \[HHH-3356] - Support for subselect (subquery) in from clause \*\* Task \* \[HHH-15274] - Small optimisation for how LazyAttributeLoadingInterceptor is dealing with lazy fields \* \[HHH-14614] - Better support for JUnit 5 on-failure handling ### [`v6.0.2.Final`](https://redirect.github.com/hibernate/hibernate-orm/compare/6.0.1...6.0.2) ### [`v6.0.1.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-601Final-May-06-2022) https://hibernate.atlassian.net/projects/HHH/versions/32061 \*\* Bug \* \[HHH-15246] - HQL fails to set enum col to NULL \* \[HHH-15245] - Minor regression in CockroachDB test cases \* \[HHH-15241] - fix nonexistent references in hibernate core's Javadoc \* \[HHH-15240] - Defining a UserVersionType causes AssertionError from VersionResolution if running in JVM with "-ea" flag set \* \[HHH-15239] - "user guide" for 5.6 is missing after 6.0 is released \* \[HHH-15238] - Documentation: update JDBC logging configuration for 6.0 \* \[HHH-15236] - Fix signing of published artifacts \* \[HHH-15233] - Query NPE when using ":param IS NULL" and the parameter value is an Entity * [HHH-15232] - OneToOne-Relation: Exception when using empty List in setParameter * [HHH-15229] - Query returns null for broken foreign key reference and NotFoundAction.EXCEPTION * [HHH-15225] - Jta transactions, name queries with errors throw IllegalStateException instead of IllegalArgumentException when transaction is not active * [HHH-15223] - Embeddables in the Query Result, the embeddable instance returned by the query will not be in the managed state * [HHH-15212] - SchemaExport.execute does not replace the ${schema}-placeholder in HBM database-object with configured schema * [HHH-15211] - ClassCastException being thrown in transaction commit() * [HHH-15202] - Unnecessary memory waste due to SubselectFetch * [HHH-15201] - Composite ID with dynamic-map entities fails with an exception * [HHH-15196] - LikeExpression.getTypedValues() should use the default Locale instead of Locale.ROOT for lowercasing. * [HHH-15193] - Fix Gradle plugin - forcing dependency on hibernate-core SNAPSHOT * [HHH-15174] - TimeZoneStorageType.NORMALIZE_UTC doesn't normalize to UTC * [HHH-15168] - Trying to execute a native query without parameters throws a NPE * [HHH-15167] - IllegalArgumentException occurred while calling setter for property * [HHH-15164] - Byte Code Enhancement : ClassNotFoundException: net.bytebuddy.NamingStrategy$SuffixingRandom$BaseNameResolver * [HHH-15163] - hibernate-jpamodelgen 6.0 throws java.lang.ClassNotFoundException: jakarta.xml.bind.JAXBException at build time * [HHH-15162] - Predicate with LENGTH() is causing a QueryException * [HHH-15161] - Insert statement not inferring types in select clause based on target paths * [HHH-15154] - User Guide: "using passing" in section 11.11 FetchMode.SUBSELECT * [HHH-15150] - Hibernate 6 EmbeddedId CacheKeys are no longer Serializable * [HHH-15141] - Bytecode enhancement fails for a protected, embedded field in a MappedSuperclass from a different package than the entity \*\* Improvement \* \[HHH-15221] - Fix a logging error in JdbcValuesCacheHit \* \[HHH-15220] - correct obvious typos in either comment or variable name \* \[HHH-15210] - Oracle dialect should have MaxIdentifierLength to 128 for version equals or above 12.2 \* \[HHH-15208] - Upgrade to Micrometer 1.8.4 \* \[HHH-15207] - Upgrade GraalVM SDK to 22.0.0.2 \* \[HHH-15206] - Upgrade to ANTLR 4.10 \* \[HHH-15204] - Remove dependency to jakarta.activation:jakarta.activation-api \* \[HHH-15200] - Support XML DDL type \* \[HHH-15189] - Deprecation warning for lock timeout is always printed \* \[HHH-15187] - Upgrade to HCANN 6.0.0.Final \* \[HHH-15184] - Improve efficiency of Component#getSelectables() \* \[HHH-15170] - Dedicated chapter for "Build Tool Support" \* \[HHH-15157] - Add HQL query to NoResultException \* \[HHH-14992] - Stop building ZIP and TGZ dists to upload to SF \* \[HHH-4384] - [@​JoinColumn](https://redirect.github.com/JoinColumn) must be set for [@​AssociationOverride](https://redirect.github.com/AssociationOverride) to work \*\* New Feature \* \[HHH-15165] - Add GEOGRAPHY constant to SqlTypes \*\* Task \* \[HHH-15237] - Upgrade to Agroal 2.0 \* \[HHH-15226] - Publish a Gradle platform (Maven Bom++) for Hibernate ORM \* \[HHH-15224] - Update list of modules in the documentation \* \[HHH-15222] - Introduce an helper class SPI for decorating a Session instance when the instance is lazily provided \* \[HHH-15219] - Re-introduce the ability to stop and then reactivate a ServiceRegistry \* \[HHH-15209] - Upgrade to bytebuddy 1.12.9 ### [`v6.0.0.Final`](https://redirect.github.com/hibernate/hibernate-orm/blob/HEAD/changelog.txt#Changes-in-600Final-March-31-2022) https://hibernate.atlassian.net/projects/HHH/versions/32049 \*\* Bug \* \[HHH-15131] - JPA Compliance issue with Envers \* \[HHH-15118] - PooledOptimizer generates duplicate ids when several JVMs initialize optimizer and sequence value is the initial value \* \[HHH-15117] - ConstraintViolationException is thrown using same [@​SecondaryTable](https://redirect.github.com/SecondaryTable) on two entities \* \[HHH-15115] - Deleting an entity with Joined inheritance and default schema set is throwing and error \* \[HHH-15113] - Exception setting ParameterExpressions on Update Queries \* \[HHH-15111] - MappingException is thrown for [@​JoinColumn](https://redirect.github.com/JoinColumn) with referencedColumnName on a [@​SecondaryTable](https://redirect.github.com/SecondaryTable) \* \[HHH-15105] - Getting the CacheRegionStatistics before executing a query leads to a NPE later on \* \[HHH-15098] - suboptimal/incorrect behavior when updating managed oneToMany collection on entity with naturalId \* \[HHH-15091] - EntityManager.persist does not verify the existence of the one side of a many-to-one relationship, introduced 5.4.17 \* \[HHH-14487] - PropertyAccessStrategyMapImpl imports wrong class \*\* Improvement \* \[HHH-15144] - Add IncubationLogger \* \[HHH-15143] - Add an "implicit naming strategy" for database structures (sequence and tables) for identifier generators \* \[HHH-15138] - Remove support for Eviction Listeners in BoundedConcurrentHashMap \* \[HHH-15078] - Support for Tuple and SelectionQuery \* \[HHH-15055] - Document SelectionQuery and MutationQuery \* \[HHH-14672] - Allow specifying CHAR-based storage for UUID mappings \* \[HHH-14510] - Remove deprecated id-gen related contracts and classes \* \[HHH-13135] - Add support for KEY/NO KEY locking in PostgreSQL \*\* New Feature \* \[HHH-14739] - Implement ILike support in 6 \*\* Task \* \[HHH-15139] - Improvements for QueryInterpretationCache \* \[HHH-15133] - Use specified result-type to better infer "shape" of query results with implicit selections \* \[HHH-15132] - Improvements for NavigablePath \* \[HHH-15119] - Upgrade to ByteBuddy 1.12.8 \* \[HHH-15107] - Update build to make tests pass against JDK19 \* \[HHH-14884] - More improvements to Domain Model chapter of the User Guide \* \[HHH-14872] - Re-enable hibernate-gradle-plugin

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.