org.hibernate:hibernate-c3p0 breaking changes
Updated December 4, 2026
On this page
Latest version 7.4.17.Final. The registry marks it deprecated: Relocated to org.hibernate.orm:hibernate-c3p0 8.0.0.Beta1.. Source repository
Its 7.0.0.Final release requires Java 17 or later. Java end of life dates.
- From 7.0.0.Alpha1 to 7.0.0.Final: 80 breaking changes in 8 versions.
org.hibernate:hibernate-c3p0 7.0.0.Final breaking changes
- Removed
@LazyCollection
No direct replacement is named in the guide for this removal. docs.jboss.org - Removed
@OrderBy
Use @SQLOrder or the JPA @OrderBy instead. docs.jboss.org - Removed
@Proxy
Replace it using Session#find, eager fetching, EntityGraph or FetchProfile. docs.jboss.org - Removed
@Target
Use the new @TargetEmbeddable annotation instead. docs.jboss.org - Removed
@Where
Use @SQLRestriction or @SQLJoinTableRestriction instead. docs.jboss.org - Removed
CascadeType.SAVE_UPDATE
Use PERSIST and/or MERGE cascade types instead. docs.jboss.org - Removed
EmptyInterceptor
Implement Interceptor directly, since it now uses default methods. docs.jboss.org - Removed
hibernate.allow_refresh_detached_entity
Refreshing or locking detached entities is no longer allowed. docs.jboss.org - Removed
hibernate.mapping.precedence
Remove these settings from configuration. docs.jboss.org - Removed
Interceptor.onLoad
Implement the replacement methods of Interceptor instead; the guide names no direct replacement here. docs.jboss.org - Removed
Query.setOrder
Use QuerySpecification instead. docs.jboss.org - Removed
Session.delete
Use Session#remove in place of delete. docs.jboss.org - Removed
Session.load
Use Session#getReference instead, which has the same semantics. docs.jboss.org - Removed
Session.LockRequest
Use LockOptions instead. docs.jboss.org - Removed
Session.refresh
Pass only the entity object, since it already identifies the entity name. docs.jboss.org - Removed
Session.save
Use Session#persist in place of save. docs.jboss.org - Removed
Session.saveOrUpdate
Use persist for transient entities and merge for detached entities. docs.jboss.org - Removed
Session.update
Use Session#merge in place of update. docs.jboss.org - Renamed
SqmSortSpecification.getNullPrecedence
Use getHibernateNullPrecedence to avoid collision with JPA. docs.jboss.org - Behavior changed
Code must run on Java 17 or newer. docs.jboss.org - Behavior changed
@OrderColumn
Order column updates now occur only when the column is not also mapped by an entity field. docs.jboss.org - Behavior changed
hibernate.jdbc.batch_size
Call setJdbcBatchSize() or use insertMultiple, updateMultiple or deleteMultiple. docs.jboss.org - Behavior changed
Session.refresh
Refresh and lock calls on detached entities now fail, as JPA requires. docs.jboss.org - Behavior changed
StatelessSession
Call setCacheMode(CacheMode.IGNORE) to restore the previous behavior. docs.jboss.org - Behavior changed
ValidationMode.AUTO
Exceptions creating the ValidatorFactory are now propagated. docs.jboss.org - Default changed
char and Character
Schema export now uses varchar(1) instead of char(1). docs.jboss.org - Default changed
enableLazyInitialization
Set enableLazyInitialization explicitly to true in the Maven plugin configuration. docs.jboss.org - 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
org.hibernate:hibernate-c3p0 7.0.0.Beta5 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 - 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
org.hibernate:hibernate-c3p0 7.0.0.Beta4 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 - 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
org.hibernate:hibernate-c3p0 7.0.0.Beta3 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 - 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 - Removed
Internal annotation processing moves from Hibernate Commons Annotations to Hibernate Models; see the migration guide for affected code. github.com - Behavior changed
7.0 validates mappings more strictly, rejecting illegal annotation combinations, misplaced annotations and non-JavaBean-conforming properties. github.com - 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 - 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
org.hibernate:hibernate-c3p0 7.0.0.Beta2 breaking changes
- Behavior changed
Hibernate ORM 7.0.0.Beta2 maintenance release in org.hibernate:hibernate-c3p0 7.0.0.Beta2 github.com
org.hibernate:hibernate-c3p0 7.0.0.Beta1 breaking changes
- Removed
MariaDB versions older than 10.5 are no longer supported; upgrade the database before using this release. github.com - Removed
Deprecated annotations are removed in this release. github.com - Removed
@ForeignKey
The @ForeignKey annotation is removed. github.com - Removed
@GeneratorType
The @GeneratorType annotation is removed. github.com - Removed
@Index
The @Index annotation is removed. github.com - Removed
@IndexColumn
The @IndexColumn annotation is removed. github.com - Removed
@LazyCollection
The @LazyCollection annotation is removed. github.com - Removed
@LazyToOne
The @LazyToOne annotation is removed. github.com - Removed
@Loader
The @Loader annotation is removed. github.com - Removed
@Polymorphism
The @Polymorphism annotation is removed. github.com
And 23 more in this version. Sign up to see every change
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
org.hibernate:hibernate-c3p0 7.0.0.Alpha3 breaking changes
- Removed
Deprecated database dialects have been removed. github.com - Removed
hibernate.create_empty_composites.enabled
The hibernate.create_empty_composites.enabled setting is removed in Hibernate 7. github.com
And 2 more in this version.
org.hibernate:hibernate-c3p0 7.0.0.Alpha2 breaking changes
- Behavior changed
Entity listeners defined in XML now replace those from annotations rather than being added to them. github.com - Behavior changed
When no name is set, the persistence-unit name is now used as the SessionFactory name. github.com
And 2 more in this version.
org.hibernate:hibernate-c3p0 7.0.0.Alpha1 breaking changes
- Removed
@Persister
The @Persister annotation has been removed. github.com - Removed
AdditionalJaxbMappingProducer
AdditionalJaxbMappingProducer has been removed. github.com
And 2 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.