* [HHH-16120] - Error advancing (next) ResultSet position with Hibernate v6
* [HHH-16117] - Querying entity with collection in Embeddable causes 'A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance'
* [HHH-16075] - NPE Caused by "Cannot invoke "org.hibernate.engine.spi.EntityKey.getIdentifier()" because "this.entityKey" is null" @ AbstractEntityInitializer:445
* [HHH-16070] - Exception when find by association id that is a generic @EmbeddedId with @MappedSuperclass
* [HHH-16062] - jakarta.persistence.query.timeout not working on Hibernate 6.1.6 for Criteria Queries
* [HHH-16061] - SqmDynamicInstantiation warns about dynamic Map instantiation when using an entity
* [HHH-16049] - Setting a property to its current value with bytecode enhancement enabled results in unnecessary SQL Update in some (many) cases
* [HHH-15950] - AssertionError with bidirectional OneToOne relation using AttributeConverter for the FK
* [HHH-15944] - Joins on non-managed-type polymorphisms don't work
* [HHH-15933] - broken SQL generated for @ManyToOne with @JoinColumn which references a column of a @SecondaryTable
* [HHH-15928] - Distinct with maxResults fails under SQLServer
* [HHH-15916] - Regressions when using JoinColumnOrFormula on char[] and String
* [HHH-15914] - Deprecated method QueryProducer.createNativeQuery alternative does not work for Example 556 and 557
* [HHH-15902] - @OneToMany relationship with @Where on child table generates wrong sql
* [HHH-15901] - Criteria Query throws a NullPointerException when I use an empty predicates list
* [HHH-15890] - springboot 3.0.0 + hibernate 6.1.5.Final + IBM DB2 error after migrating from springboot 2.7.0 + hibernate 5.6.9.Final
* [HHH-15866] - Hibernate validation fails when OneToMany refers to fereign key in embeddable object and is marked as nullable false
* [HHH-15865] - OneToMany foreign key relation throws when id is inside nested embeddables
* [HHH-15864] - OrphanRemoval does not work with embeddables when deleting entity
* [HHH-15859] - Fetching an entity with entity graph for an attribute of type Map fails with an assertion error
* [HHH-15854] - Improve CollectionInitializer and EntityDelayedFetchInitializer resolveInstance methods performance when the parent entity is initialized
* [HHH-15851] - Mixup of entities in refresh with BatchSize
* [HHH-15850] - NullPointerException when parsing HQL query with like statement and interface is used
* [HHH-15842] - Can't convert an enum that is inside an entity within an entity
* [HHH-15840] - HibernateException: Found shared references to a collection when loading a collection from the cache
* [HHH-15839] - CriteriaBuilder treat method on Path causes ClassCastException
* [HHH-15823] - Unexpected java.lang.AssertionError when use AttributeConverter
* [HHH-15822] - Unexpected org.hibernate.UnknownEntityTypeException: Unable to locate persister
* [HHH-15805] - Subquery with where condition on a column with columnDefinition results in wrong SQL grammar
* [HHH-15794] - NullPointerException when constructing mapping model for nested embeddables with not optional ManyToOne
* [HHH-15784] - Primitive array as Natural ID causes ClassCastException
* [HHH-15778] - Fetching an Entity with a lazily loaded Embeddable with more fields than the parent results in an ArrayIndexOutOfBoundsException
* [HHH-15768] - incorrect deprecation warning being logged: HHH90000021: Encountered deprecated setting [javax.persistence.sharedCache.mode], use [jakarta.persistence.sharedCache.mode] instead
* [HHH-15730] - Hibernate throws NullPointerException if loading an Entity that contains a null Embedded field and enableDirtyTracking = true
* [HHH-15721] - NullPointerException in BaseSqmToSqlAstConverter.visitJunctionPredicate with combination of treats
* [HHH-15718] - Polymorphic queries with condition do not work
* [HHH-15717] - SQL script executed twice when using persistence.xml jakarta.persistence.sql-load-script-source property with the default sql script name
* [HHH-15716] - ClassCastException in QueryParameterBindingsImpl.generateQueryKeyMemento
* [HHH-15715] - broken links in 6 docs
* [HHH-15713] - UnknownTableReferenceException on @ElementCollection of @Embeddable containing a @MayToOne with a @ManyToMany
* [HHH-15711] - ArgumentTypesValidator doesn't support enums in string functions
* [HHH-15703] - SqlFunction does not render the fragment after the last parameter
* [HHH-15699] - HibernateException: Found shared references to a collection when ShareCacheMode.All or ShareCacheMode.DISABLE_SELECTIVE
* [HHH-15695] - Batch Fetching, Embeddable with an Association is considered null when all the other Embeddable attributes are null
* [HHH-15694] - HibernateException: Unable to resolve property xyz on ManyToOne with BatchSize
* [HHH-15686] - Envers incorrect key parameter order in insert statement when InheritanceType.JOINED and @Embeddable ID
* [HHH-15674] - @NamedEntityGraph not working on entity that have composite PK
* [HHH-15666] - When a reference entry is found in the Second Level Cache there is not need to set its values
* [HHH-15658] - Embeddable with more fields than the parent fails with Index out of Bounds
* [HHH-15656] - use privileged action when invoking ScheduledExecutorService.shutdown
* [HHH-15655] - ByteBuddyState should use privileged action when defining classes
* [HHH-15653] - Named Native Query cannot be registered/used with named parameters
* [HHH-15648] - Fetching association and using implicit path in condition fails
* [HHH-15646] - Using a generic DTO i get a ClassCastException: class sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to class java.lang.reflect.ParameterizedType
* [HHH-15644] - ClassCastException when batch-fetching association in embeddable
* [HHH-15640] - ElementCollection with SubSelect FetchMode throws NPE, "ownerEntry" is null
* [HHH-15634] - Lazy basic property does not get updated on change
* [HHH-15624] - java.lang.ClassCastException: class sun.reflect.generics.reflectiveObjects.WildcardTypeImpl cannot be cast to class java.lang.reflect.ParameterizedType when using generics and Wildcard
* [HHH-15608] - Error In Native Query where column is mapped twice
* [HHH-15606] - @OneToOne(mappedBy = ..., fetch = LAZY) in embedded leads to IllegalArgumentException: Can not set [...] to LazyPropertyInitializer$1
* [HHH-15580] - Emulate lt/gt/le/ge tuple-comparisons when unsupported
* [HHH-15573] - SpannerDialect, schema creation generates SQL containing 'null' instead of the column type
* [HHH-15561] - Function "IDENTITY" not found when inserting audited revision using Hibernate Envers
* [HHH-15558] - Hibernate's Gradle plugin does not work with three-part source set names
* [HHH-15531] - Use dense_rank instead of row_number when query uses distinct
* [HHH-15528] - Add Cockroach to Jenkins nightly test matrix and fix issues
* [HHH-15277] - Reflection error when committing one to one relationship with embedded ids
* [HHH-14940] - Unidirectional one-to-many associations annotated with @OnDelete must define @JoinColumn not working with CompositeKey (JoinColumns)
* [HHH-14687] - Cannot refer in JoinColumn to a field introduced by another JoinColumn
* [HHH-14544] - Document Ehcache Performance degradation when the default cache is used
* [HHH-13054] - ManyToOne and referencedColumnName => org.hibernate.AnnotationException: referencedColumnNames ... not mapped to a single property
* [HHH-12930] - non-primary embedded composite @ManyToOne mapping fails -> AnnotationException: referencedColumnNames ... not mapped to a single property
** Improvement
* [HHH-15639] - Upgrade to ByteBuddy 1.12.18
* [HHH-15637] - Upgrade to Byteman 4.0.20
* [HHH-15636] - Indexed fetchable access via IndexedConsumer and by position
* [HHH-15635] - Avoid type pollution in EnhancedSetterImpl
* [HHH-15633] - Intern entity name to improve EntityKey#equals
* [HHH-15632] - Avoid unnecessary PersistenceContext#getEntity call in AbstractEntityInitializer
* [HHH-15616] - Mitigate performance impact of entity enhancement on Klass's _secondary_super_cache
* [HHH-15613] - remove lateral from roots and JpaDerivedFrom
* [HHH-15610] - Remove internal CacheKeyValueDescriptor uses from Type and JavaType
* [HHH-15585] - Add support for DB2 aliases for schema validation
* [HHH-15576] - Emulation of tuple comparison produces a wrong SQL query for NOT EQUAL operator
* [HHH-15572] - Emulation of tuple comparison produces a wrong SQL query, missing a closing parenthesis
* [HHH-15554] - Merge of an Entity with an immutable composite user type throws Exception
* [HHH-15552] - Embeddable type cannot be cast to org.hibernate.usertype.CompositeUserType if referred to from a mapped superclass with generic parameter
* [HHH-15548] - PostgreSQL: java.util.Instant - Hibernate creates column with typecode 93 and then expects typecode 3003
* [HHH-15543] - CNFE with OracleDialect when JDBC driver classes are invisible
* [HHH-15542] - Stored Procedure, 'registerStoredProcedureParameter(..., ResultSet.class, ParameterMode.REF_CURSOR);' throws NPE : cannot invoke "org.hibernate.query.BindableType.getBindableJavaType()" because "parameterType" is null
* [HHH-15537] - Lateral subquery emulation fails on MySQL 5.7
* [HHH-15522] - Hibernate.isInitialized method not working for Envers Collections
* [HHH-15520] - ValueGeneration on @OneToOne leads to boot error
* [HHH-15517] - "insert from select" With hibernate.default_schema Configured Doesn't Work With Hibernate 6
* [HHH-15514] - EntityTestCase Test failures with Hibernate ORM when run under security manager
* [HHH-15512] - Querying for an entity persisted but not flushed to the database causes the exception 'A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance'
* [HHH-15511] - CockroachDB dialect version incorrectly determined
* [HHH-15505] - Getter of loaded entity returns null when using bytecode enhancement on entity whose field is defined both in mapped superclass and concrete entity
* [HHH-15498] - Enum, Query fails to determine the ValueMapping for SqmParameter
* [HHH-15497] - Count query when counting polymorphic subclasses by type fails when run twice
* [HHH-15495] - BINARY (and by extension UUID) is no longer comparable in Hibernate 6
* [HHH-15482] - CoercionException in criteria simple case statement
* [HHH-15481] - NaturalId and Lazy create a class cast Exception
* [HHH-15235] - PropertyAccessException on OneToOne mapping after migration to Hibernate 5.6
* [HHH-15045] - onFlushDirty() invoked on parent entity in a @OneToOne relationship when no table columns are changed
** Deprecation
* [HHH-15536] - Deprecate SharedSessionContractImplementor#getTransactionStartTimestamp() and CacheTransactionSynchronization#getCurrentTransactionStartTimestamp()
** Improvement
* [HHH-15578] - Add min/max emulation for uuid on PostgreSQL
* [HHH-15527] - Use SimpleInsertQueryPlan when query assigns id even if optimizer increment is bigger than 1
* [HHH-15500] - Cache key is huge since migration to 6
** Task
* [HHH-15579] - Replace inaccessible docker image for SAP Hana with new version
* [HHH-15538] - Move Jenkinsfile timeout around shell command
* [HHH-15534] - Publish recent version of Hibernate Gradle plugin
* [HHH-15533] - Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version
* [HHH-15477] - Criteria EXISTS Subquery referring the Root of the Query of which it is a Subquery causes "Error interpreting query [SqmRoot not yet resolved to TableGroup]"
* [HHH-15468] - contributor-build.yml has no explicit permissions set
* [HHH-15455] - User Guide Contains a reference to hibernate-ehcache, no longer supported
* [HHH-15454] - Primitive type requested from tuple throws exception
* [HHH-15453] - java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.spi.EntityEntry.getEntityKey()" because "ownerEntry" is null
* [HHH-15452] - Predicate add expression results in UnsupportedOperationException
* [HHH-15449] - @ManyToOne associations not loaded correctly with default EAGER and batch fetch property set when using TypedQuery.resultStream
* [HHH-15440] - @OneToOne and @OptimisticLock(excluded = true) not working correctly
* [HHH-15438] - PostgreSQL integration classes shouldn't throw ClassNotFoundException on org.postgresql driver classes that we try loading
* [HHH-15433] - Make sure Path#type() never returns null as per JPA TCK requirement
* [HHH-15432] - Potential IndexOutOfBoundsException in SqmQueryPart
* [HHH-15416] - PostgreSQLJsonbJdbcType is assuming there is a valid Json FormatMapper implementation
* [HHH-15359] - The entity returned by a merge doesn't contain @ManyToMany relation when the collection resides in @Embeddable
* [HHH-15356] - Unable to get primary information on some dialects (ex: Oracle) when the PK column's position doesn't match the alphabetical name's order
* [HHH-15216] - Cannot change MetadataProvider implementation because JPAXMLOverriddenMetadataProvider is final and precisely expected by a cast operator
* [HHH-15100] - Limitation of metamodel imports cache causes severe performance drops in large projects
* [HHH-14387] - A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance with hibernate-enhance-maven-plugin
* [HHH-13485] - FilterJoinTable does not to use the defualt condition
** Improvement
* [HHH-15471] - Improve merge replace operation when original and target are the same object
* [HHH-15466] - Compatibility with Jandex 3.0.0
* [HHH-15462] - Optimize ColumnReference rendering and reduce buffering
* [HHH-15461] - Replace uses of method references for SqlAppender with proper implementation
* [HHH-15458] - Interpret String with JSON/XML type code as plain JSON/XML
* [HHH-15442] - Allow for setParameter usage with a queries for a specific type in an Any-discriminated relationship
* [HHH-15441] - Improve error message if SqlTypes type code can't be interpreted
* [HHH-15381] - Clean up Gradle Plugin publishing as part of release process
** Task
* [HHH-15451] - Upgrade PostgreSQL JDBC driver to 42.5.0
* [HHH-15448] - Upgrade MSSQL JDBC and container image versions used for testing
* [HHH-15430] - Allow use of @Enumerated on basic collection
* [HHH-15428] - Converters for BasicCollectionType don't work
* [HHH-15423] - @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-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-15082] - JDBC Statement leaks after exceptions other than SQLException during insert/update/...
* [HHH-15073] - Criteria query built from JPA metamodel throws PersistenceException: Specified result type [long] did not match Query selection type [java.lang.Long]
* [HHH-15071] - "this.anticipatedType" is null
* [HHH-15068] - "CDI BeanManager not (yet) ready to use" when refferring to a user type by name and using an ExtendedBeanManager
* [HHH-15057] - JdbcSQLException: NULL not allowed for column "BOOKS_ORDER" when inserting into many-to-many list
* [HHH-15054] - NPE on cascade-delete for @OneToMany(mappedBy = ...) association
* [HHH-14932] - Spatial support for PostgreSQL 10+ uses invalid WKB dialect
* [HHH-13694] - Numeric Overflow Exception when retrieving the Meta-data for sequences from Oracle Database
* [HHH-10463] - Coalesce does not handle NULL values properly for PostgreSQL
* [HHH-14719] - Hibernate has a dependency on apache-derby:10.11.1.1 that is vulnerable to CVE-2015-1832 with a CVSS of 9.1 and CVE-2018-1313 with a CVSS of 5.3
* [HHH-14715 - Hibernate has a dependency to maven-core:3.0.5 that is vulnerable to CVE-2021-26291 with a CVSS of 9.1]
* [HHH-14704] - Union \+ OneToOne is broken in Hibernate 6
** Improvement
* [HHH-14745] - Add FunctionContributor contract
* [HHH-14678] - Drop ResultSetWrapper and friends
* [HHH-14617] - Remove `QueryLiteralRendering` and `LiteralHandlingMode` from v6 codebase