---
title: "org.hibernate:hibernate-envers 7.0.0.Final Breaking Changes"
description: "What each org.hibernate:hibernate-envers release removed, renamed or changed: 86 breaking changes in 8 versions on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/org.hibernate:hibernate-envers
last_updated: 2026-12-04
---

# org.hibernate:hibernate-envers breaking changes

org.hibernate:hibernate-envers 7.0.0.Final (May 19, 2025) is its newest release with breaking changes, 34 of them. The first: Vibur, Proxool and UCP connection pool support dropped in org.hibernate:hibernate-envers 7.0.0.Final. Every breaking API change we have recorded in org.hibernate:hibernate-envers on Maven Central: 86 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.4.17.Final`, released November 23, 2026. The registry marks it deprecated: Relocated to org.hibernate.orm:hibernate-envers 8.0.0.Beta1.. [Source repository](https://github.com/hibernate/hibernate-orm)

Its 7.0.0.Final release requires [Java 17](https://since.dev/calendar/eclipse-temurin/17.md) or later. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [7.0.0.Alpha1](#v-7-0-0-Alpha1) to [7.0.0.Final](#v-7-0-0-Final): 81 breaking changes in 7 versions.

## org.hibernate:hibernate-envers 7.0.0.Final breaking changes

org.hibernate:hibernate-envers 7.0.0.Final, released May 19, 2025: 34 breaking changes.

- **Removed**  

Built-in support for these pools is gone; use Agroal or HikariCP, or implement ConnectionProvider. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed**  

Several changes from 6.6 break existing code; see the migration guide for details. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0)
- **Removed** `@Proxy`  

Replace usages with Session#find, eager fetching, EntityGraph, or FetchProfile. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `@Target`  

Use the new @TargetEmbeddable annotation on embedded or element collection members. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `EmptyInterceptor`  

Implement Interceptor directly, since its methods are now default methods. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Integrator.integrate`  

Implement the replacement integrate method that takes a BootstrapContext. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Interceptor.onSave`  

Methods such as onSave and onFlushDirty were removed in favor of their replacements that use Object identifiers. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `NaturalIdLoadAccess.using`  

Use Map#of() to build the map instead. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `org.hibernate.annotations.CascadeType.DELETE`  

Use CascadeType REMOVE instead. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `org.hibernate.annotations.CascadeType.SAVE_UPDATE`  

Use PERSIST and/or MERGE in its place. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `org.hibernate.Metamodel`  

Use JpaMetamodel from the domain package instead. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Query.setOrder`  

Use QuerySpecification instead of the removed incubating setOrder method. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Session.delete`  

Use Session#remove instead of the removed Session#delete methods. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Session.load`  

Session#load was removed in favor of Session#getReference, which has the same semantics. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Session.LockRequest`  

Use LockOptions instead. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Session.save`  

Use Session#persist instead of the removed Session#save methods. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Session.saveOrUpdate`  

Use Session#persist for transient entities or Session#merge for detached entities. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Session.update`  

Use Session#merge instead of the removed Session#update methods. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `createQuery`  

Queries with no select list passed to createQuery without a result type are no longer accepted; specify the select list or result type. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `hibernate.session_factory_name`  

SessionFactory name now comes from the persistence-unit name, and JNDI binding uses hibernate.session_factory_jndi_name. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `jakarta.persistence.criteria.Path.get`  

Call CriteriaBuilder#treat explicitly before accessing attributes defined on an inheritance subtype. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `Session.refresh`  

Refresh and lock on detached entities now throw IllegalArgumentException, as JPA requires. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `StatelessSession`  

Call setCacheMode(CacheMode.IGNORE) to bypass the second-level cache as before. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed**  

enableLazyInitialization and enableDirtyTracking now default to false; set them to true explicitly. The plugin artifact coordinates also changed. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed** `char`  

Schema export now uses varchar(1) instead of char(1) for char and Character fields. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed** `hibernate.dialect.oracle.use_binary_floats`  

Default DDL for Java float and double on Oracle changed to binary_float and binary_double; existing columns need a multi-step migration, or set the flag to false. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed** `hibernate.query.immutable_entity_update_query_handling_mode`  

Update and delete queries affecting immutable entities now raise an exception unless the mode is set to allow. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed** `hibernate.query.native.prefer_jdbc_datetime_types`  

Native queries now return LocalDate, LocalTime and LocalDateTime; set the setting to true to get the previous java.sql types. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed** `timestamp`  

Oracle timestamps now default to precision 9 and SQL Server to precision 7, affecting generated DDL. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Configuration changed**  

The baseline is now Java 17, so applications on older Java versions must upgrade before using this release. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Configuration changed**  

Classpath entity scanning now needs the hibernate-scan-jandex dependency added to standalone applications. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Configuration changed** `hibernate.allow_refresh_detached_entity`  

The setting that re-enabled legacy detached refresh is gone, so detached refresh is no longer possible. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Configuration changed** `hibernate.jdbc.batch_size`  

Set the batch size with setJdbcBatchSize() or use insertMultiple, updateMultiple, or deleteMultiple. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Configuration changed** `hibernate.type.xml_format_mapper.legacy_format`  

Existing XML data must be read and re-saved; set legacy_format to true to keep the old format. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)

## org.hibernate:hibernate-envers 7.0.0.Beta5 breaking changes

org.hibernate:hibernate-envers 7.0.0.Beta5, released May 19, 2025: 2 breaking changes.

- **Removed**  

A lot of deprecated contracts and behavior has been removed; check the migration guide for replacements. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta5)
- **Removed**  

Hibernate 7.0 baselines on Java 17 whereas previous versions baselined on Java 11, so applications must run on Java 17 or later. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta5)

## org.hibernate:hibernate-envers 7.0.0.Beta4 breaking changes

org.hibernate:hibernate-envers 7.0.0.Beta4, released May 19, 2025: 2 breaking changes.

- **Removed**  

Hibernate 7.0 baselines on Java 17 whereas previous versions baselined on Java 11, so applications must run on Java 17 or later. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta4)
- **Removed**  

A lot of deprecated contracts and behavior has been removed; check the migration guide for replacements. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta4)

## org.hibernate:hibernate-envers 7.0.0.Beta3 breaking changes

org.hibernate:hibernate-envers 7.0.0.Beta3, released May 19, 2025: 6 breaking changes.

- **Removed**  

Hibernate 7.0 baselines on Java 17 whereas previous versions baselined on Java 11, so applications must run on Java 17 or later. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Removed**  

A lot of deprecated contracts and behavior has been removed; check the migration guide for replacements. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Renamed**  

Many packages have been reorganized according to compatibility policy, so imports may need updating. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Behavior changed**  

Migrating to Jakarta Persistence 3.2 can break existing code; follow the migration guide. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Behavior changed**  

Internal annotation processing moved to the Hibernate Models project; code relying on the old annotation-processing layer must migrate. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Behavior changed**  

Illegal annotation combinations and misplaced annotations are now rejected, so mappings that previously loaded may fail at startup. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)

## org.hibernate:hibernate-envers 7.0.0.Beta1 breaking changes

org.hibernate:hibernate-envers 7.0.0.Beta1, released May 19, 2025: 31 breaking changes.

- **Removed**  

Older MariaDB versions are no longer supported; upgrade the database before using this release. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@ForeignKey`  

Removes @ForeignKey annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@GeneratorType`  

Removes @GeneratorType annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Index`  

Removes @Index annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@IndexColumn`  

Removes @IndexColumn annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@LazyCollection`  

Removes @LazyCollection annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@LazyToOne`  

Removes @LazyToOne annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Loader`  

Removes @Loader annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Polymorphism`  

Removes @Polymorphism annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Proxy`  

Removes @Proxy annotation in org.hibernate:hibernate-envers 7.0.0.Beta1 [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## org.hibernate:hibernate-envers 7.0.0.Alpha3 breaking changes

org.hibernate:hibernate-envers 7.0.0.Alpha3, released May 19, 2025: 3 breaking changes.

- **Removed**  

Deprecated database dialects were removed in this release. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `hibernate.create_empty_composites.enabled`  

The hibernate.create_empty_composites.enabled setting was removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `IdentifierGeneratorFactory`  

IdentifierGeneratorFactory and related code were removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### org.hibernate:hibernate-envers 7.0.0.Alpha2 breaking changes

org.hibernate:hibernate-envers 7.0.0.Alpha2, released May 19, 2025: 3 breaking changes.

- **Behavior changed**  

When no name is set, the persistence-unit name is used as the SessionFactory name. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Default changed**  

The default timestamp precision for Oracle is now 9, which can change stored values. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)

And 1 more in this version.

### org.hibernate:hibernate-envers 7.0.0.Alpha1 breaking changes

org.hibernate:hibernate-envers 7.0.0.Alpha1, released May 19, 2025: 5 breaking changes.

- **Removed** `@Comment`  

The @Comment annotation was deprecated in this release. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Persister`  

The @Persister annotation was removed in this release. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)

And 3 more in this version.

## Related packages

- [org.hibernate:hibernate-c3p0](https://since.dev/packages/maven/org.hibernate:hibernate-c3p0.md)
- [org.hibernate:hibernate-jpamodelgen](https://since.dev/packages/maven/org.hibernate:hibernate-jpamodelgen.md)
- [org.hibernate:hibernate-core](https://since.dev/packages/maven/org.hibernate:hibernate-core.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
