This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Update hibernate core #268
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.4.0.Final
->5.5.5.Final
6.0.13.Final
->6.2.0.Final
Release Notes
hibernate/hibernate-orm
v5.5.5.Final
https://hibernate.atlassian.net/projects/HHH/versions/31963
** Bug
* [HHH-14740] - HHH-14740 Still need the nullcheck removed in HHH-14727
* [HHH-14724] - Metamodel generates invalid model classes for converters and user types
** Improvement
* [HHH-14755] - Allow to instantiate a DefaultIdentifierGeneratorFactory which does not bind to the BeanManager
** Task
* [HHH-10661] - Method serialize() in StatefulPersistenceContext has duplicate code
v5.5.4.Final
https://hibernate.atlassian.net/projects/HHH/versions/31959
** Bug
* [HHH-14730] - Failure during lazy loading of bytecode-enhancement proxy triggered by the loading of a collection with eager references to that proxy
* [HHH-14722] - InformationExtractorJdbcDatabaseMetaDataImpl#getCurrentSchema() method returns currentCatalog if schema == null
* [HHH-14720] - Aliases generated for mixed-case column names that end in a number are not all lower-case
* [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-14608] - Merge causes StackOverflow when JPA proxy compliance is enabled
** Improvement
* [HHH-14734] - No good reason tu use TypeCache(s) with WithInlineExpunction in ByteBuddy proxy generation
* [HHH-14733] - Not useful to clear the bycodeprovider caches on sessionFactoryClosing
* [HHH-14732] - ProxyDefinitionHelpers are immutable and can be declared static
* [HHH-14731] - Simplify SPI ProxyFactoryFactory#buildBasicProxyFactory to accept a single class or interface only
* [HHH-14728] - Include CamelCaseToUnderscoresNamingStrategy from Spring Boot
* [HHH-14727] - Minor code cleanup in StandardSQLExceptionConverter
* [HHH-14706] - Improve error message on incompatible types due to mismatched classloader
* [HHH-14688] - Get IdentifierGenerator from BeanContainer if not registered
** Task
* [HHH-14709] - Upgrade to Gradle 6.7.1 and move to Gradle's built-in way of testing Java modules
* [HHH-14707] - Upgrade to Byte Buddy 1.11.8
v5.5.3.Final
https://hibernate.atlassian.net/projects/HHH/versions/31957
** Bug
* [HHH-14654] - geolatte-geom Geometry types no longer works with geography column types
* [HHH-14597] - Regression bug: could not resolve property: null of:
* [HHH-13788] - Schema update try to recreate existing tables
* [HHH-4808] - SessionImpl.initializeCollection() does not release JDBC connection (if outside of a transaction)
** Improvement
* [HHH-14691] - Small optimisation for updating Query Cache Statistics
* [HHH-14690] - Avoid fully resetting StatisticsImpl just after its constructor
** New Feature
* [HHH-11817] - Allow schema-export commands written to file to truncate in addition to current appending
v5.5.2.Final
https://hibernate.atlassian.net/projects/HHH/versions/31957
** Bug
* [HHH-14609] - Fetch join association within fetched element collection fails
* [HHH-14608] - Merge causes StackOverflow when JPA proxy compliance is enabled
** Task
* [HHH-14599] - Upgrade to Gradle 7 in support of Java 17
v5.5.0.Final
https://hibernate.atlassian.net/projects/HHH/versions/31946
** Bug
* [HHH-14139] - BasicBinder Trace Logging Causes Duplicated Message
** Improvement
* [HHH-14632] - Call statistics.queryPlanCacheHit and statistics.queryPlanCacheMiss for FilterQueryPlan and NativeSQLQueryPlan
* [HHH-14624] - Oracle from version 12 started supporting the
offset ? rows fetch next ? rows only
syntax for pagination* [HHH-14240] - Stop generating fragments of SQL as uppercase
** Task
* [HHH-14635] - Upgrade to latest JUnit and to Log4j 2
v5.4.32.Final
v5.4.31.Final
v5.4.30.Final
v5.4.29.Final
v5.4.28.Final
v5.4.27.SP1
v5.4.27.Final
v5.4.26.Final
v5.4.25.Final
v5.4.24.Final
v5.4.23.Final
v5.4.22.Final
v5.4.21.Final
v5.4.20.Final
v5.4.19.Final
v5.4.18.Final
v5.4.17.Final
v5.4.16.Final
v5.4.15.Final
v5.4.14.Final
https://hibernate.atlassian.net/projects/HHH/versions/31836/tab/release-report-done
** Bug
* [HHH-13886] - ColumnDefinition broken for audit mappings
* [HHH-13889] - Case Select in Criteria API does not bind literals using parameters
* [HHH-13929] - ClassCastException on use of PersistenceUtilHelper when entities use Enhanced Proxies
** Task
* [HHH-13685] - Upgrade to Gradle 5
* [HHH-13689] - Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
* [HHH-13925] - Upgrade to Gradle 6.3
** Improvement
* [HHH-13930] - Improve ByteBuddyProxyHelper to allow defining proxy classes without actually loading the class
* [HHH-13934] - GraalVM native-image metadata needs to register class metadata antlr.CommonToken
* [HHH-13935] - Allow subclasses of StandardServiceRegistryBuilder to initialize a custom list of StandardServiceInitiator(s)
v5.4.13.Final
https://hibernate.atlassian.net/projects/HHH/versions/31829/tab/release-report-done
** Bug
* [HHH-13322] - Sequence increment is not correctly determined
* [HHH-13619] - size() does not work properly as select expression
* [HHH-13711] - H2 dialect not accurate for drop table since version 1.4.200
* [HHH-13870] - Gradle plugin causes compile task to be always out of date
* [HHH-13875] - Optional one-to-one does not always join the associated entity table when querying
* [HHH-13876] - Fix an obvious bug in StandardStack implementation
* [HHH-13891] - ProxyFactory should not be built if any ID or property getter/setter methods are final
* [HHH-13910] - MySQL57Dialect selected by automatic dialect resolution when using MySQL 8.0 database
** New Feature
* [HHH-13799] - JPA Criteria API support for Hibernate Spatial
** Task
* [HHH-13874] - Deprecate relevant methods that are supposed to be removed in v6.0
** Improvement
* [HHH-13103] - Allow Hibernate Types to get access to the current configuration properties using constructor injection
* [HHH-13853] - Pass the merged Integration settings and Persistence Unit properties to buildBootstrapServiceRegistry
* [HHH-13855] - Remove unnecessary declaration of JtaManager in HibernatePersistenceProviderAdaptor
* [HHH-13872] - Make the Java Stream close the underlying ScrollableResultsIterator upon calling a terminal operation
* [HHH-13873] - IdTableHelper can skip opening a connection when there's no statements to execute
* [HHH-13878] - Increase the scope of some methods to make them accessible outside of Hibernate ORM
* [HHH-13879] - Slow query log should use System#nanoTime not System#currentTimeMillis
* [HHH-13897] - ResultSetProcessingContextImpl: no need to clear collections before discarding the reference to them
v5.4.12.Final
https://hibernate.atlassian.net/projects/HHH/versions/31827/tab/release-report-done
** Bug
* [HHH-13858] - Fix Oracle failing tests
* [HHH-13859] - NPE on scanning for entities in a project having module-info.class resources
** New Feature
* [HHH-13861] - Expose the doWork() and doReturningWork() APIs on StatelessSession as well
* [HHH-13863] - Introduce a module to distribute some helpers useful to compile Hibernate ORM to GraalVM native images
** Improvement
* [HHH-13864] - Cosmetic change of format when reporting version number
v5.4.11.Final
https://hibernate.atlassian.net/projects/HHH/versions/31818/tab/release-report-done
** Bug
* [HHH-6615] - int type in Revision number
* [HHH-6686] - JPQL operator "is empty" failes for @ElementCollection
* [HHH-10844] - Resolve columnDefinition to appropriate sql-type for audit mappings
* [HHH-13373] - Hibernate report query hibernate_sequence table error in spring-boot application starting on a multi-database mariadb server
* [HHH-13456] - ForeignGenerator Throws ClassCastException When Using StatelessSession
* [HHH-13472] - Error creating hibernate_sequence in MariaDB 10.3
* [HHH-13644] - NullPointerException when calling StoredProcedureQuery.getResultStream() instead of StoredProcedureQuery.getResultList()
* [HHH-13677] - org.hibernate.flushMode property not applied
* [HHH-13704] - Make sure javassist is really an optional dependency
* [HHH-13752] - Delete doesn't work when many-to-many uses non-primary key for join table
* [HHH-13759] - Bytecode enhancement fails for an embedded field in a MappedSuperclass
* [HHH-13760] - Envers tries to use relationship's entity as value for column instead of numeric identifier (cast class exception happens) for LAZY @ManyToOne
* [HHH-13770] - Envers - modified flag column value set to null from 5.4.7 onwards
* [HHH-13780] - Allow NamedQuery to set hint QueryHints.PASS_DISTINCT_THROUGH
* [HHH-13783] - org.hibernate.MappingException: The increment size of the sequence is set to [10] in the entity mapping while … size is [1]
* [HHH-13792] - L2 entity cache is evicted prior to committing transaction for HQL/native updates
* [HHH-13796] - Missing from clause in query from BinaryLogicOperatorNode row value constructor translation
* [HHH-13804] - HibernateProxy might need to be instantiated even with build-time enhancement
* [HHH-13806] - CoreMessageLogger#unableToLoadCommand is not printing the cause of the error
* [HHH-13808] - Incorrect String format in log
* [HHH-13831] - Replaced listener is not called when EventListenerGroup#fireEventOnEachListener is called
** Task
* [HHH-13726] - Extract org.hibernate.internal.SessionFactoryImpl#prepareEventListeners from SessionFactoryImpl
* [HHH-13767] - Remove mention of Oracle and DB2 not being in MC
* [HHH-13821] - Update to Byte Buddy 1.10.7
* [HHH-13822] - OSGi integration tests need to be able to download dependencies from Maven Central using HTTPS
* [HHH-13823] - Various visibility changes to help prototyping of Hibernate RX
* [HHH-13833] - Byte Buddy enhancer should use ASM7 opcodes to improve compatibility with code compiled for Java 11
* [HHH-13837] - Initialize the Hibernate VERSION as a real constant
* [HHH-13838] - Allow extension of PersistenceXmlParser
* [HHH-13849] - Convert ProxyFactoryFactory and BytecodeProvider into a Service
** Improvement
* [HHH-8776] - Ability for JPA entity-graphs to handle non-lazy attributes as lazy
* [HHH-11958] - Apply QueryHints.HINT_READONLY to load operations
* [HHH-12856] - Upgrade DB2400 dialect to use the DB2 for i improvements
* [HHH-13390] - Upgrade JPA MetaModel Generator (jpamodelgen) to support Gradle Incremental Compile
* [HHH-13800] - Correct some typos in the javadocs of hibernate-core module
* [HHH-13802] - fix javadoc warnings in 'hibernate-core'
* [HHH-13809] - Various improvements in the user guides
* [HHH-13830] - Fixing typo on the build task description
* [HHH-13832] - Optimise setting of default Flush Mode on a newly created Session
* [HHH-13850] - Clear the BytecodeProvider caches both after SessionFactory creation and stop
* [HHH-13851] - Rework initialization of ProxyFactoryFactory to move responsibility out of PojoEntityTuplizer
* [HHH-13854] - Allow extensions of StandardServiceRegistryBuilder to ignore Environment variables
v5.4.10.Final
https://hibernate.atlassian.net/projects/HHH/versions/31811/tab/release-report-done
** Bug
* [HHH-9301] - Group by on alias doesn't replace alias
* [HHH-12895] - Extra LEFT JOIN generated with @ManyToOne and @JoinTable when projecting on main entity id
* [HHH-13355] - StaleStateException for updates to optional secondary table using saveOrUpdate
* [HHH-13365] - Entities in joined subclass table are not inserted with batch size > 0 using sequence-identity ID generator
* [HHH-13608] - Oracle8iDialect should use CASE_INSENSITIVE pattern matching when checking the statement type
* [HHH-13722] - ArrayStoreException in Constraint.generateName
* [HHH-13737] - Add debug logging and a test case for HHH-13433
* [HHH-13742] - Missing from clause with joined inheritance property in association subquery
* [HHH-13758] - Limit Handler for SQL server doesn't work with CTE queries with strings literals
* [HHH-13764] - Annotations are ignored during enhancement if they are on the getter instead of the field
** Task
* [HHH-13739] - Upgrade to Agroal 1.7
* [HHH-13761] - Debug logging of JPA compliance settings didn't log the value of the settings
* [HHH-13762] - Update vibur-dbcp dependency to 25.0
** Improvement
* [HHH-8091] - Hibernate produces SQL - "in ()" - which is invalid in at least Oracle, MySQL and Postgres
* [HHH-13755] - Update Hibernate Gradle Plugin example in the documentation
v5.4.9.Final
https://hibernate.atlassian.net/projects/HHH/versions/31806/tab/release-report-done
** Bug
* [HHH-12030] - Symbol$TypeVariableSymbol cannot be cast to TypeElement
* [HHH-13307] - On release of batch it still contained JDBC statements using JTA
* [HHH-13433] - EntityManager.find() should only check for roll-back-only condition if there is an active JTA transaction, otherwise ORM should throw convert( e, lockOptions )
* [HHH-13614] - Allow the IntegratorProvider to be supplied via its FQN in the JPA persistence.xml
* [HHH-13670] - Missing from clause in query with joined inheritance, regression in 5.4.5
* [HHH-13687] - TenantSchemaResolver not called in integration test after upgrade from 5.4.4 to >=5.4.5
* [HHH-13690] - Multi-tenancy supporting session factories can not be created
* [HHH-13698] - Hibernate does not recognize MySQL 8 error code 3572 as PessimisticLockException
* [HHH-13700] - Configuration property CONNECTION_PROVIDER_DISABLES_AUTOCOMMIT should not be passed to the JDBC connection properties
* [HHH-13705] - Enhancement as Proxy with inline dirty checking - flush of an @ManyToOne with an Embedded value having not null properties causes PropertyValueException
* [HHH-13710] - Wrong tenant-identifier in Envers temporary session
* [HHH-13712] - inheritance - select count query is not working with inheritance
* [HHH-13727] - h2 database with DATABASE_TO_UPPER=false throws org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "sequences" not found
** Task
* [HHH-13730] - Upgrade to Classmate 1.4.0
* [HHH-13731] - Upgrade to Classmate 1.5.1
* [HHH-13733] - Upgrade to Jandex 2.1.1.Final
** Improvement
* [HHH-13654] - Avoid clearing of collections when closing StatefulPersistenceContext
* [HHH-13723] - Hint sizing of ArrayList in ResultSetProcessingContextImpl
v5.4.8.Final
https://hibernate.atlassian.net/projects/HHH/versions/31804/tab/release-report-done
** Bug
* [HHH-12965] - Hibernate Envers Audit tables are created with foreign key with the entity. Because of this I am not able to delete any entries from the entity tables.
* [HHH-13446] - java.lang.VerifyError from compile-time enhanced @Entity
* [HHH-13651] - NPE on flushing when ElementCollection field contains null element
* [HHH-13695] - DDL export forgets to close a Statement
* [HHH-13696] - Multiple OSGi bundles initializing concurrently would overlap classloaders
** Improvement
* [HHH-13686] - Upgrade to Agroal 1.6
v5.4.7.Final
https://hibernate.atlassian.net/projects/HHH/versions/31799/tab/release-report-done
** Bug
* [HHH-4235] - MapBinder.createFormulatedValue() does not honor DB schema name when creating query
* [HHH-13633] - Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
* [HHH-13634] - PersistenceContext can get cleared before load completes using StatelessSessionImpl
* [HHH-13640] - Uninitialized HibernateProxy mapped as NO_PROXY gets initialized when reloaded with enhancement-as-proxy enabled
* [HHH-13653] - Uninitialized entity does not get initialized when a setter is called with enhancement-as-proxy enabled
* [HHH-13655] - Envers Map<Enum, Integer> causes NullPointerException when mapped with @MapKeyEnumerated since Hibernate 5.4.6
* [HHH-13663] - Session#setHibernateFlushMode() method not callable without an active transaction
* [HHH-13665] - Selecting an entity annotated with @Immutable but not with @Cachable causes a NPE when use_reference_entries is enabled
* [HHH-13672] - The temporary PersistenceContext of a StatelessSession is not cleared after a refresh operation
* [HHH-13675] - Optimize PersistentBag.groupByEqualityHash()
** New Feature
* [HHH-10398] - _MOD columns not named correctly when using custom column names
** Task
* [HHH-13680] - Upgrade to Byte Buddy 1.10.2
* [HHH-13681] - Upgrade to Byteman 4.0.8
** Improvement
* [HHH-12858] - integration overrides during JPA bootstrap ought to override all logically related settings
* [HHH-13432] - Have EntityManagerFactory expose persistence.xml
jta-data-source
element as ajavax.persistence.nonJtaDataSource
property* [HHH-13660] - Reduce allocation costs of IdentityMaps used by ResultSetProcessingContextImpl
* [HHH-13662] - Avoid initializing XmlMappingBinderAccess when no XML mappings are defined
* [HHH-13666] - AssertionFailure: Exception releasing cache locks upon After/BeforeTransactionCompletionProcess failure
* [HHH-13673] - Cryptic error when providing import.sql file without a terminal char at the end of each line
v5.4.6.Final
https://hibernate.atlassian.net/projects/HHH/versions/31794/tab/release-report-done
** Bug
* [HHH-11797] - Envers Map<Enum, Entity> not auditing correctly
* [HHH-13493] - For a native query, the SessionImpl class does not call applyQuerySettingsAndHints
* [HHH-13597] - Building DatabaseInformation fails on H2 without DATABASE_TO_UPPER
* [HHH-13625] - After upgrading to 5.4.5, it's no longer possible to bootstrap Hibernate if the org.hibernate.cfg LOG is set to DEBUG
* [HHH-13645] - StatsNamedContainer#getOrCompute throws NullPointerException when computed value is null
** Improvement
* [HHH-13130] - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task
v5.4.5.Final
https://hibernate.atlassian.net/projects/HHH/versions/31779/tab/release-report-done
** Bug
* [HHH-13259] - StackOverflowError from StringHelper
* [HHH-13466] - ClassCastException when changing a Collection association to a Set if @PreUpdate listener exists
* [HHH-13544] - Restore logged warning on jdbc code mapping issue in NationalizedTypeMappings
* [HHH-13550] - Fix Oracle failure for test added by HHH-13424
* [HHH-13551] - StrategyRegistrationProvider does not properly handle implementations from different classloader
* [HHH-13554] - QueryAndSQLTest.testNativeQueryWithFormulaAttributeWithoutAlias() fails on Oracle, MSSQL, Sybase, DB2, MariaDB
* [HHH-13555] - FetchGraphTest, MergeProxyTest and ProxyDeletionTest fail due to ConstraintViolationException
* [HHH-13556] - Tests doing dynamic fetch scrolling a collection fail on DB2
* [HHH-13557] - LocalTimeTest#writeThenNativeRead and OffsetTimeTest#writeThenNativeRead tests are failing on SQL Server
* [HHH-13558] - InstantTest, LocalDateTimeTest, OffsetDateTimeTest, ZonedDateTimeTest failing on Sybase for year 1600
* [HHH-13564] - Envers - Getting NPE while reading revisions of entity with @EmbeddedId composite key located in parent @MappedSuperclass
* [HHH-13569] - org.hibernate.test.annotations.embedded.EmbeddedTest failures on Sybase
* [HHH-13570] - Test failures due to Sybase not supporting UPDATE statement with WITH(NOWAIT)
* [HHH-13571] - Test failures due to cross joined table out of scope of a subsequent JOIN on Sybase
* [HHH-13573] - Test failure due to Sybase not supporting cascade delete on foreign key definitions
* [HHH-13574] - SybaseASE does not support PARTITION BY
* [HHH-13577] - LockTest.testContendedPessimisticLock and StatementIsClosedAfterALockExceptionTest.testStatementIsClosed tests fail on Sybase
* [HHH-13580] - LocalTimeTest#writeThenNativeRead* and OffsetTimeTest#writeThenNativeRead* failing on MySQL
* [HHH-13581] - LocalTimeTest#writeThenRead* and OffsetTimeTest#writeThenRead* failing on MariaDB
* [HHH-13582] - LocalDateTest failures on MySQL
* [HHH-13586] - ClassCastException when using a single region name for both entity and query results
* [HHH-13590] - TransientObjectException merging a non-proxy association to a HibernateProxy
* [HHH-13592] - AutoFlushEvent#isFlushRequired is always false
* [HHH-13607] - Exception thrown while flushing uninitialized enhanced proxy with immutable natural ID
* [HHH-13611] - Restore EntityMetamodel constructor to take SessionFactoryImplementor argument instead of PersisterCreationContext.
* [HHH-13616] - Enable the hibernate-orm-modules test for JDK 11
* [HHH-13621] - Exception if spaces after value of javax.persistence.schema-generation.scripts.action in hibernate.properties
** New Feature
* [HHH-13249] - Introduce an option to Log slow queries instead of all queries
** Task
* [HHH-13525] - Make test SessionDelegatorBaseImplTest more resilient to previously existing alias definition
* [HHH-13526] - Optimise ResourceRegistryStandardImpl#release
* [HHH-13527] - Performance regression in org.hibernate.stat.internal.StatisticsImpl
* [HHH-13528] - Invoke afterStatements only at the end of releasing all statements for a batch
* [HHH-13529] - Performance regression in org.hibernate.engine.spi.SessionFactoryImplementor#getDialect
* [HHH-13531] - Some more opportunities to reuse the constants pool in AliasConstantsHelper
* [HHH-13534] - AbstractLoadPlanBasedLoader never needs a List of AfterLoadAction
* [HHH-13546] - Make the sessionFactory field in StatisticsImpl required
* [HHH-13549] - Cleanup dead code in StringHelper
* [HHH-13552] - CollectionType needs a direct reference to its Persister
* [HHH-13553] - Fix test failures on SAP HANA
* [HHH-13561] - Do not retrieve the same ActionQueue multiple times
* [HHH-13562] - List of TransactionObserver for JdbcResourceLocalTransactionCoordinatorImpl should be lazily initialized
* [HHH-13563] - ResultSetReturnImpl is looking up JdbcServices on each construction
* [HHH-13565] - Improve Session opening efficiency
* [HHH-13568] - Instances of NaturalIdXrefDelegate should be lazily initialized if possible
* [HHH-13605] - InstantTest, OffsetDateTimeTest, ZonedDateTimeTest fail for MariaDB on CI
* [HHH-13606] - LocalDateTimeTest fails for HANA on CI
* [HHH-13622] - Upgrade the WildFly Transaction Client to 1.1.7.Final
** Improvement
* [HHH-13133] - Print message about 'successfully enhanced class' as debug in Maven enhancement plugin
* [HHH-13412] - Move hibernate.connection description out of c3p0 section
* [HHH-13512] - Avoid allocating an array in org.hibernate.internal.util.StringHelper#unquote(String[], Dialect) if there are no changes to be applied
* [HHH-13521] - Avoid excessive validation of enabled filters
* [HHH-13522] - Optimise LoadQueryInfluencers by making maps lazily initialized
* [HHH-13523] - StatementPreparerImpl should not need to retrieve the JDBCService as often
* [HHH-13524] - Remove unused fields xref,unassociatedResultSets from JdbcCoordinatorImpl
* [HHH-13541] - ExceptionConverter instance in AbstractSharedSessionContract should be lazily initialized
* [HHH-13548] - Since SessionOwner is deprecated several fields in SessionImpl can be removed
* [HHH-13576] - Invoking tracef() or debugf() w/o an array of parameters actually allocates an empty Object[]
* [HHH-13579] - Cleanup of resources in ResourceRegistryStandardImpl allocates many Iterators
* [HHH-13584] - Reduce ServiceRegistry lookups in LocalConnectionAccess in SessionFactory
* [HHH-13585] - Duplicate resource release in PessimisticReadSelectLockingStrategy
* [HHH-13587] - Initialize selected collections of StatefulPersistenceContext lazily
* [HHH-13588] - MySQL Dialect: missed functions: weight_string, to_base64, from_base64, regexp_replace, regexp_instr, regexp_substr
* [HHH-13589] - Minor memory allocation improvements in ActionQueue
* [HHH-13591] - Replaces simple uses of array iteration with a corresponding for-each loop
* [HHH-13594] - ResourceRegistryStandardImpl#release could avoid allocating a capturing lambda
* [HHH-13599] - Avoid ArrayList allocation in JtaTransactionCoordinatorImp in common scenario
* [HHH-13600] - Avoid allocation of capturing lambdas in ParameterTranslationsImpl and AbstractDomainDataRegion
** Deprecation
* [HHH-13595] - Deprecate ConnectionObserver
v5.4.4.Final
https://hibernate.atlassian.net/projects/HHH/versions/31774/tab/release-report-done
** Bug
* [HHH-12642] - Lazy enhanced entity as relationship is always loaded in a criteria query
* [HHH-13357] - OffsetTimeTest fails using TimeAsTimestampRemappingH2Dialect in non-GMT European time zones
* [HHH-13379] - Regression of Instant serialization
* [HHH-13409] - Hibernate ORM does not detect services provided by libraries in the module path
* [HHH-13424] - Table nullability should not depend on JpaCompliance.isJpaCacheComplianceEnabled()
* [HHH-13443] - Build failing to parse *.properties file attributes containing trailing space
* [HHH-13454] - org.hibernate.orm.test.query.criteria.BasicCriteriaExecutionTests fails on Oracle
* [HHH-13455] - Enabling Enhancement as a Proxy causes IllegalStateException when using Javassist
* [HHH-13459] - Unit test lock up when they run on PostgreSQL
* [HHH-13460] - FetchGraphTest is failing on MariaDB
* [HHH-13463] - Hibernate has a dependency on plexus-utils:3.0.1 that is vulnerable to CVE-2017-1000487 with a CVSS of 7.5
* [HHH-13492] - OptimisticLockException after locking, refreshing, and updating an entity
* [HHH-13500] - Subquery of DefaultAuditStrategy results in a wrong revision
* [HHH-13505] - NullPointerException thrown by StatisticsImpl#getCacheRegionStatistics
* [HHH-13514] - Calling the wrong method inside SessionDelegatorBaseImpl#createStoredProcedureQuery
** New Feature
* [HHH-11147] - Allow enhanced entities to be returned in a completely uninitialized state
* [HHH-13154] - Add support for JPA criteria on stateless sessions
** Task
* [HHH-13415] - Improve build compatibility with JDK11.0.3
* [HHH-13461] - Style and formatting fixes: CollectionEntry
* [HHH-13504] - Upgrade ByteBuddy to 1.9.11
* [HHH-13513] - Partial revert of string interning introduced by HHH-3924
* [HHH-13520] - Deprecate mutators on SqlStatementLogger
** Improvement
* [HHH-11032] - Improve performance of PersistentBag.equalsSnapshot
* [HHH-13226] - Typo in some configuration properties (HBM2DDL vs HBM2DLL)
* [HHH-13303] - Fix some alerts from LGTM
* [HHH-13428] - Minor cleanup of build scripts
* [HHH-13429] - Upgrade WildFly provisioning plugin to version 0.0.11
* [HHH-13442] - CollectionType#getCollection() method improvements
* [HHH-13444] - Remove ignored EntityMode field from CollectionKey
* [HHH-13447] - Minimize number of EventListenerRegistry lookups within a Session use
* [HHH-13448] - Avoid retrieving PRE_LOAD and POST_LOAD Event listeners within the inner loops of TwoPhaseLoad
* [HHH-13450] - Do not compute the full role name of a collection unless necessary
* [HHH-13451] - Logging typo in CascadingActions causing significant allocations
* [HHH-13452] - Missing log level guard on formatting in DefaultPersistEventListener#entityIsDeleted
* [HHH-13453] - Optimise CascadingActions for the most likely case
* [HHH-13458] - Update Hibernate's custom IdentityMap to better match its use
* [HHH-13462] - Introduce a fastpath for SessionImpl#fireLoad to be used by internal loops
* [HHH-13465] - Allow inlined access to the PersistenceContext for internal methods
* [HHH-13467] - Make average BatchFetchQueue consume less memory
* [HHH-13471] - Avoid invoking delayedAfterCompletion() multiple times from the same SessionImpl method
* [HHH-13475] - SessionImpl#applyQuerySettingsAndHints should not rely on defensive copies to just read properties
* [HHH-13476] - Micro-optimisations of TwoPhaseLoad#getOverridingEager
* [HHH-13477] - Make heavily invoked method final: EventListenerGroupImpl#listeners()
* [HHH-13478] - Various low hanging fruits identified by CPU flame graphs
* [HHH-13494] - LobTypeMappings should not use a Bounded ConcurrentHashmap
* [HHH-13495] - NationalizedTypeMappings should not use a Bounded ConcurrentHashmap
* [HHH-13496] - Apply some minor yet improvements identified via static code analysis tools
* [HHH-13508] - Reuse alias names generated by BasicLoader#generateSuffixes
* [HHH-13511] - Remove old org.hibernate.loader.DefaultEntityAliases#intern
v5.4.3.Final
https://hibernate.atlassian.net/projects/HHH/versions/31762/tab/release-report-done
** Bug
* [HHH-13343] - Bytecode enhancement using ByteBuddy fails when the class is not available from the provided ClassLoader
* [HHH-13364] - Query.getSingleResult and getResultList() throw PessimisticLockException when pessimistic lock fails with timeout
* [HHH-13418] - Revert log level caching in static fields
** Task
* [HHH-13416] - Unguarded debug message being rendered in org.hibernate.engine.internal.Collections.processReachableCollection
* [HHH-13419] - Support building javadoc with JDK 11.0.3
* [HHH-13421] - Disable OSGi testing for JDK 11+
v5.4.2.Final
https://hibernate.atlassian.net/projects/HHH/versions/31748/tab/release-report-done
** Bug
* [HHH-13194] - Some methods returning org.hibernate.query.Query are not defined for StatelessSession
* [HHH-13216] - Criteria query doesn't handle BigDecimal correctly
* [HHH-13217] - Don't throw exception if both @MappedSuperclass and @Inheritance are used
* [HHH-13219] - The sentence "The chapter 6 (e.g. Criteria API)" should be "The chapter 6 (i.e., Criteria API)"
* [HHH-13225] - Fix minor version detection in BasicDialectResolver
* [HHH-13227] - UnsupportedOperationException when programmatically overriding hibernate.ejb.cfgfile
* [HHH-13228] - The modification of a @OneToOne with @MapsId property is silently ignored during a merge operation
* [HHH-13229] - Sequences in MariaDB doesnt work on existing sequence
* [HHH-13230] - The AvailableSettings.HBM2DDL_HALT_ON_ERROR setting does not accept String values
* [HHH-13233] - Eager loading via EntityGraph doesn't work with subgraph
* [HHH-13236] - @Column insertable and updatable on ElementCollection items' fields are ignored when generating statements
* [HHH-13239] - The query hint javax.persistence.lock.timeout doesn't work correctly on HANA
* [HHH-13241] - Constraint violation when deleting entites in bi-directional, lazy OneToMany association with bytecode enhancement
* [HHH-13244] - setting hibernate.jpa.compliance.proxy=true and org.hibernate debug level to DEBUG breaks hibernate
* [HHH-13256] - Fix the fieldsPreUpdateNeeded property index allocation in AbstractEntityPersister#update
* [HHH-13262] - javax.persistence.TransactionRequiredException: Executing an update/delete query
* [HHH-13265] - Remove double semicolon
* [HHH-13266] - LocalDateTime values are wrong around 1900 (caused by JDK-8061577)
* [HHH-13269] - Embeddable collection regression due to HHH-11544
* [HHH-13277] - HibernateMethodLookupDispatcher - Issue with Security Manager
* [HHH-13281] - java.lang.ClassCastException: org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.ejb.HibernateEntityManager
* [HHH-13285] - ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory after dom4j update
* [HHH-13300] - query.getSingleResult() throws org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException
* [HHH-13309] - Extended bean managers implementing the new interface are not correctly detected
* [HHH-13324] - NullPointerException if security manager is set after startup
* [HHH-13326] - Transaction passed to Hibernate Interceptor methods is null when JTA is used
** New Feature
* [HHH-13202] - Add support for PostgreSQL "GENERATED BY DEFAULT AS IDENTITY"
** Task
* [HHH-13232] - Upgrade ByteBuddy to 1.9.8
* [HHH-13238] - Reuse static logger in QueryTranslatorFactoryInitiator
* [HHH-13254] - Upgrade Agroal to 1.4
* [HHH-13258] - ASTQueryTranslatorFactory.createQueryTranslator undocumented Parameter
* [HHH-13271] - Javadoc build failures on JDK 12
* [HHH-13272] - Upgrade to Byte Buddy 1.9.10
* [HHH-13275] - Re-introduce usage of net.bytebuddy.experimental=true when testing on JDK > 11
* [HHH-13304] - MySQLDialect shouldn't access System Properties
* [HHH-13305] - Deprecate public static helpers returning the current Dialect
* [HHH-13306] - Remove verbose logging from the standard ExceptionMapper
* [HHH-13332] - Upgrade to c3p0 0.9.5.3
** Improvement
* [HHH-6190] - Leverage JmxService to expose management and monitoring capabilities.
* [HHH-10148] - SQLServer2012SpatialDialect
* [HHH-13220] - In the ByteBuddy enhancer, avoid creating a PersistentAttributeTransformer if the class is not enhanced
* [HHH-13257] - Support mysql8 spatial
** Patch
* [HHH-13330] - Minor typo in ManagedBeanRegistryInitiator
v5.4.1.Final
https://hibernate.atlassian.net/projects/HHH/versions/31726/tab/release-report-done
** Bug
* [HHH-11807] - Enhanced entity delete not cascaded for some case
* [HHH-12555] - Merging a blob on an entity results in a class cast exception
* [HHH-13059] - OneToMany with referencedColumnName returns too many entities
* [HHH-13068] - "order_inserts = true" causes FK Violation when inserting Self Referential Entity with Single_Table Inherited Entities
* [HHH-13080] - ManyToMany List update with detached entities throws EntityExistsException
* [HHH-13084] - Querying entity with non-ID property named 'id' fails if entity has an IdClass composite key
* [HHH-13094] - Setting @Any.fetch to FetchType.EAGER doesn't work
* [HHH-13104] - Oracle 12c / SAP Hana insert fails when entity contains only an identity-based column.
* [HHH-13114] - Query "select count(h) from Human h" fails if a subclass has a non-Id property named "id"
* [HHH-13129] - Cascaded merge fails for detached bytecode-enhanced entity with uninitialized ToOne
* [HHH-13138] - Work around class loading issues so that bytecode enhanced tests can run as expected
* [HHH-13145] - Generated metamodel class can't be compiled.
* [HHH-13146] - Hibernate Ehcache no longer supports the
net.sf.ehcache.hibernate.cache_lock_timeout
configuration property* [HHH-13151] - TreatedRoot misses fetches in query
* [HHH-13153] - No content in 15.1. Query API of User Guide
* [HHH-13160] - Polymorphic query for InheritanceType.TABLE_PER_CLASS is not using UNION ALL
* [HHH-13163] - Fix DDLWithoutCallbackTest#testRangeChecksGetApplied which fails on MariaDB
* [HHH-13164] - Detecting transient state of mandatory toOne relations is broken
* [HHH-13167] - When omitting the OTHERWISE clause in a CASE expression built with Criteria API, Hibernate throws a NullPointerException
* [HHH-13169] - Table alias used instead of exact table name in multitable update query
* [HHH-13172] - Log a warning instead of throwing an Exception when @AttributeOverride is used in conjunction with inheritance
* [HHH-13175] - Eager subsequent-select fails when EntityGraph is specified for find operation
* [HHH-13184] - Oracle dialect detection does not return latest dialect in the default case
* [HHH-13189] - org.hibernate.Query#setParameter(String, Object) is extremely slow
* [HHH-13191] - LazyInitializationException when Envers persists audit data that uses a proxy with JPA_PROXY_COMPLIANCE enabled under JTA
* [HHH-13192] - Select alias in Criteria API seems to bleed into where condition
* [HHH-13199] - NullPointerException when using case on select clause using JPA Criteria API
** New Feature
* [HHH-13204] - Introduce a configuration flag to skip processing of XML mapping metadata
* [HHH-13209] - Experimental feature: Allow for ServiceRegistry "suspend and restore"
** Task
* [HHH-13197] - Reduce bootstrap log verbosity
* [HHH-13198] - Introduce a global configuration flag to disable JPA callbacks
* [HHH-13210] - Don't log about running a script of type ScriptSourceInputNonExistentImpl
* [HHH-13211] - Reduce logging verbosity of QueryTranslatorFactoryInitiator
** Improvement
* [HHH-12878] - StaleStateException does not log out the stale object or the statement that was executed
* [HHH-13162] - Upgrade MySQL and MariaDB Dialects as they support UNION ALL
* [HHH-13165] - Don't use confusing "this" in the User Guide admonition blocks
* [HHH-13181] - Reduce bootstrap log verbosity
* [HHH-13186] - MariaDB dialect detection does not return the latest by default
* [HHH-13206] - Apply dialect checks from both method and class level.
hibernate/hibernate-validator
v6.2.0.Final
Compare Source
v6.1.7.Final
Compare Source
v6.1.6.Final
Compare Source
v6.1.5.Final
Compare Source
v6.1.4.Final
Compare Source
v6.1.3.Final
Compare Source
v6.1.2.Final
Compare Source
** Bug
* HV-1756 - translations - Incorrect variables in the newly added translations
** Task
* HV-1753 - tests - Force Pax-Exam and Karaf to use Maven Central repository with SSL enabled
v6.1.1.Final
Compare Source
** Improvement
* HV-1750 - engine - Add debug log when expression factory has failed to load
* HV-1747 - engine - Allow overriding the message interpolator in PredefinedScopeValidatorFactory context
* HV-1744 - documentation - Use auto-expanding entries in the documentation TOC
** New Feature
* HV-1749 - engine - Introduce a LocaleResolver SPI
* HV-1748 - engine - Improve localization support via Locale.LanguageRange
** Task
* HV-1745 - tests - Bump Jackson test dependency to 2.10.1
v6.1.0.Final
Compare Source
** Bug
* HV-1730 - engine - JavaBeanExecutable fails to initialize for enum type
* HV-1715 - engine - Validation can sometimes proceed to the next group in sequence even after one of the constraints generated a violation
** Improvement
* HV-1729 - performance - Skip allocation of an action for each need to access the context classloader
** Task
* HV-1743 - build - Upgrade maven-compiler-plugin to 3.8.1
* HV-1742 - build - Upgrade to WildFly 18.0.0.Final
* HV-1741 - build - Upgrade ByteBuddy test dependency to 1.10.2
* HV-1740 - engine - Deprecate @SafeHtml
* HV-1739 - engine - CVE-2019-10219 Security issue with @SafeHtml
* HV-1738 - build - Update Jackson test dependency to 2.9.10
* HV-1733 - tests - Fix locale settings of PredefinedScopeValidatorFactoryTest
* HV-1732 - build - Change tarLongFileMode to posix for assembly building
* HV-1731 - tck-runner - Move TCK signature check to tck-runner module
* HV-1728 - build - Upgrade to WildFly 17.0.1.Final
* HV-1727 - build - Update Jackson Databind test dependency to 2.9.9.2
* HV-1725 - build - Switch to using Jakarta EE artifacts
* HV-1724 - build - Update to OpenJFX 11.0.2
* HV-1680 - engine - Avoid reflection by using instrumentation - build the enhancer
v6.0.22.Final
Compare Source
v6.0.21.Final
Compare Source
v6.0.20.Final
Compare Source
v6.0.19.Final
Compare Source
v6.0.18.Final
Compare Source
v6.0.17.Final
Compare Source
v6.0.16.Final
Compare Source
v6.0.15.Final
Compare Source
v6.0.14.Final
Compare Source
Configuration
📅 Schedule: 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.