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

# org.hibernate:hibernate-c3p0 breaking changes

org.hibernate:hibernate-c3p0 7.0.0.Final (May 19, 2025) is its newest release with breaking changes, 28 of them. The first: Removed @LazyCollection. Every breaking API change we have recorded in org.hibernate:hibernate-c3p0 on Maven Central: 84 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.4.17.Final`. The registry marks it deprecated: Relocated to org.hibernate.orm:hibernate-c3p0 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): 80 breaking changes in 8 versions.

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

org.hibernate:hibernate-c3p0 7.0.0.Final, released May 19, 2025: 28 breaking changes.

- **Removed** `@LazyCollection`  

No direct replacement is named in the guide for this removal. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `@OrderBy`  

Use @SQLOrder or the JPA @OrderBy instead. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `@Proxy`  

Replace it using 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 instead. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `@Where`  

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

Use PERSIST and/or MERGE cascade types instead. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `EmptyInterceptor`  

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

Refreshing or locking detached entities is no longer allowed. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `hibernate.mapping.precedence`  

Remove these settings from configuration. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Interceptor.onLoad`  

Implement the replacement methods of Interceptor instead; the guide names no direct replacement here. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Query.setOrder`  

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

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

Use Session#getReference instead, 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.refresh`  

Pass only the entity object, since it already identifies the entity name. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Removed** `Session.save`  

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

Use persist for transient entities and 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 in place of update. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Renamed** `SqmSortSpecification.getNullPrecedence`  

Use getHibernateNullPrecedence to avoid collision with JPA. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed**  

Code must run on Java 17 or newer. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `@OrderColumn`  

Order column updates now occur only when the column is not also mapped by an entity field. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `hibernate.jdbc.batch_size`  

Call setJdbcBatchSize() or use insertMultiple, updateMultiple or deleteMultiple. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `Session.refresh`  

Refresh and lock calls on detached entities now fail, 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 restore the previous behavior. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Behavior changed** `ValidationMode.AUTO`  

Exceptions creating the ValidatorFactory are now propagated. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed** `char and Character`  

Schema export now uses varchar(1) instead of char(1). [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)
- **Default changed** `enableLazyInitialization`  

Set enableLazyInitialization explicitly to true in the Maven plugin configuration. [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`  

Set the mode to allow to restore bulk updates on immutable entities. [docs.jboss.org](https://docs.jboss.org/hibernate/orm/7.0/migration-guide/migration-guide.html)

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

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

- **Removed**  

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

Hibernate 7.0 migrates to Jakarta Persistence 3.2, which can be fairly disruptive, and requires Java 17 instead of Java 11. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta5)

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

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

- **Removed**  

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

Hibernate 7.0 migrates to Jakarta Persistence 3.2, which can be fairly disruptive, and requires Java 17 instead of Java 11. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta4)

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

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

- **Removed**  

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

Applications using hbm.xml must transform their mappings using the provided tool, as the new mapping.xsd is in a different namespace. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Removed**  

Internal annotation processing moves from Hibernate Commons Annotations to Hibernate Models; see the migration guide for affected code. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Behavior changed**  

7.0 validates mappings more strictly, rejecting illegal annotation combinations, misplaced annotations and non-JavaBean-conforming properties. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Behavior changed**  

Hibernate 7.0 migrates to Jakarta Persistence 3.2, which can be fairly disruptive, and requires Java 17 instead of Java 11. Review the migration guide before upgrading. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)
- **Behavior changed** `@AnyDiscriminatorImplicitValues`  

Historically Hibernate used the full entity name as the implicit discriminator value; this is now controllable and explicit and implicit strategies can be mixed. [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta3)

## org.hibernate:hibernate-c3p0 7.0.0.Beta2 breaking changes

org.hibernate:hibernate-c3p0 7.0.0.Beta2, released May 19, 2025: 1 breaking change.

- **Behavior changed**  

Hibernate ORM 7.0.0.Beta2 maintenance release in org.hibernate:hibernate-c3p0 7.0.0.Beta2 [github.com](https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.Beta2)

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

org.hibernate:hibernate-c3p0 7.0.0.Beta1, released May 19, 2025: 33 breaking changes.

- **Removed**  

MariaDB versions older than 10.5 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**  

Deprecated annotations are removed in this release. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@ForeignKey`  

The @ForeignKey annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@GeneratorType`  

The @GeneratorType annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Index`  

The @Index annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@IndexColumn`  

The @IndexColumn annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@LazyCollection`  

The @LazyCollection annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@LazyToOne`  

The @LazyToOne annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Loader`  

The @Loader annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `@Polymorphism`  

The @Polymorphism annotation is removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)

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

## Older versions

3 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-c3p0 7.0.0.Alpha3 breaking changes

org.hibernate:hibernate-c3p0 7.0.0.Alpha3, released May 19, 2025: 4 breaking changes.

- **Removed**  

Deprecated database dialects have been removed. [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 is removed in Hibernate 7. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)

And 2 more in this version.

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

org.hibernate:hibernate-c3p0 7.0.0.Alpha2, released May 19, 2025: 4 breaking changes.

- **Behavior changed**  

Entity listeners defined in XML now replace those from annotations rather than being added to them. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Behavior changed**  

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

And 2 more in this version.

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

org.hibernate:hibernate-c3p0 7.0.0.Alpha1, released May 19, 2025: 4 breaking changes.

- **Removed** `@Persister`  

The @Persister annotation has been removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)
- **Removed** `AdditionalJaxbMappingProducer`  

AdditionalJaxbMappingProducer has been removed. [github.com](https://github.com/hibernate/hibernate-orm/blob/7.0.0/changelog.txt)

And 2 more in this version.

## Related packages

- [org.hibernate:hibernate-jpamodelgen](https://since.dev/packages/maven/org.hibernate:hibernate-jpamodelgen.md)
- [org.hibernate:hibernate-envers](https://since.dev/packages/maven/org.hibernate:hibernate-envers.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.
