org.springframework:spring-orm breaking changes
Updated December 4, 2026
On this page
Latest version 7.1.0. Source repository
Packages on Maven Central run on Java. Java end of life dates.
org.springframework:spring-orm 7.0.0 breaking changes
- Removed
Undertow-specific WebSocket and WebFlux low-level HTTP classes are dropped; use standard Servlet support once a compatible Undertow release exists. github.com - Removed
favorPathExtension
favorPathExtension and ignoreUnknownPathExtensions are gone, along with the path extension negotiation strategies. github.com - Removed
HttpComponentsClientHttpRequestFactory.setConnectTimeout
HttpComponentsClientHttpRequestFactory setConnectTimeout removed in org.springframework:spring-orm 7.0.0 github.com - Removed
Jackson2ObjectMapperBuilder
Use JsonMapper.builder(), CBORMapper.builder() or similar builders instead. github.com - Removed
javax.annotation
Migrate javax.annotation and javax.inject annotations to jakarta.annotation and jakarta.inject equivalents. github.com - Removed
ListenableFuture
Switch to CompletableFuture. github.com - Removed
matchOptionalTrailingSeparator
matchOptionalTrailingSeparator removed from PathPatternParser in org.springframework:spring-orm 7.0.0 github.com - Removed
OkHttp3 support
OkHttp3 support removed in org.springframework:spring-orm 7.0.0 github.com - Removed
org.springframework.orm.hibernate5.HibernateCallback
org.springframework.orm.hibernate5.HibernateCallback was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateJdbcException
org.springframework.orm.hibernate5.HibernateJdbcException was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateObjectRetrievalFailureException
org.springframework.orm.hibernate5.HibernateObjectRetrievalFailureException was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateOperations
org.springframework.orm.hibernate5.HibernateOperations was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException
org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateQueryException
org.springframework.orm.hibernate5.HibernateQueryException was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateSystemException
org.springframework.orm.hibernate5.HibernateSystemException was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateTemplate
org.springframework.orm.hibernate5.HibernateTemplate was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateTransactionManager.convertHibernateAccessException
HibernateTransactionManager.convertHibernateAccessException was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.HibernateTransactionManager.setAllowResultAccessAfterCompletion
HibernateTransactionManager.setAllowResultAccessAfterCompletion was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.LocalSessionFactoryBean
org.springframework.orm.hibernate5.LocalSessionFactoryBean was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.LocalSessionFactoryBuilder.addAnnotatedClasses
LocalSessionFactoryBuilder.addAnnotatedClasses was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.SessionFactoryUtils
org.springframework.orm.hibernate5.SessionFactoryUtils was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.SessionHolder
org.springframework.orm.hibernate5.SessionHolder was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.SpringFlushSynchronization
org.springframework.orm.hibernate5.SpringFlushSynchronization was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.SpringJtaSessionContext
org.springframework.orm.hibernate5.SpringJtaSessionContext was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.SpringSessionContext
org.springframework.orm.hibernate5.SpringSessionContext was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.SpringSessionSynchronization
org.springframework.orm.hibernate5.SpringSessionSynchronization was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.support.HibernateDaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.support.OpenSessionInterceptor
org.springframework.orm.hibernate5.support.OpenSessionInterceptor was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
org.springframework.orm.hibernate5.support.OpenSessionInViewFilter was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.isSingleton
AbstractEntityManagerFactoryBean.isSingleton was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo.addTransformer
MutablePersistenceUnitInfo.addTransformer was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo.getClassLoader
MutablePersistenceUnitInfo.getClassLoader was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo.getNewTempClassLoader
MutablePersistenceUnitInfo.getNewTempClassLoader was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException
HibernateJpaDialect.convertHibernateAccessException was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.vendor.HibernateJpaDialect.getIdentifier
HibernateJpaDialect.getIdentifier was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.vendor.HibernateJpaDialect.getSession
HibernateJpaDialect.getSession was removed in org.springframework:spring-orm 7.0.0 central.sonatype.com - Removed
spring-jcl
Use Apache Commons Logging 1.3.0 directly for logging API calls. github.com - Removed
suffixPatternMatch
Stop using suffixPatternMatch on annotated controller methods. github.com - Removed
Theme support
Theme support removed in org.springframework:spring-orm 7.0.0 github.com - Removed
trailingSlashMatch
Remove uses of trailingSlashMatch on AbstractHandlerMapping extensions. github.com - Removed
WebJars support
Use org.webjars:webjars-locator-lite instead of webjars-locator-core. github.com - Renamed
MemberCategory.DECLARED_FIELDS
Use INVOKE_DECLARED_FIELDS in place of DECLARED_FIELDS. github.com - Renamed
MemberCategory.PUBLIC_FIELDS
Use INVOKE_PUBLIC_FIELDS in place of PUBLIC_FIELDS. github.com - Renamed
org.springframework.orm.hibernate5
Hibernate support moved from hibernate5 to the orm.jpa.hibernate package. github.com - Renamed
org.springframework.orm.hibernate5.HibernateExceptionTranslator
Use org.springframework.orm.jpa.hibernate.HibernateExceptionTranslator instead. central.sonatype.com - Renamed
org.springframework.orm.hibernate5.HibernateTransactionManager
Use org.springframework.orm.jpa.hibernate.HibernateTransactionManager instead. central.sonatype.com - Renamed
org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
Use org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder instead. central.sonatype.com - Renamed
org.springframework.orm.hibernate5.SpringBeanContainer
Use org.springframework.orm.jpa.hibernate.SpringBeanContainer instead. central.sonatype.com - Renamed
RequestContext.jstPresent
Use JSTL_PRESENT in place of the jstPresent field. github.com
And 27 more in this version. Sign up to see every change
org.springframework:spring-orm 7.0.0-M9 breaking changes
- Behavior changed
ContextCache
ContextCache now closes an evicted context before loading a new context. github.com - Behavior changed
HttpStatus
HttpStatus was updated to align with RFC 9110 where relevant, which may change constant or reason values. github.com - Behavior changed
Jackson 3 constructors
Jackson 3 constructors now accept only JsonMapper instances for JSON. github.com - Behavior changed
StartupStep
StartupStep now implements AutoCloseable, which may affect code relying on its prior shape. github.com - Default changed
JpaTransactionManager.nestedTransactionAllowed
The default for the nestedTransactionAllowed flag on JpaTransactionManager was aligned, changing its default behavior. github.com
org.springframework:spring-orm 7.0.0-M7 breaking changes
- Removed
org.springframework.orm.hibernate5
The orm.hibernate5 package was migrated to orm.jpa.hibernate for Hibernate ORM 7.0, so imports must be updated. github.com - Behavior changed
InstanceFilter
InstanceFilter and ExceptionTypeFilter now default matchIfEmpty to true. github.com
org.springframework:spring-orm 7.0.0-M1 breaking changes
- Behavior changed
Spring ORM now builds against Hibernate ORM 7.0 and JPA 3.2, so applications must run on those versions of Hibernate and JPA. github.com
org.springframework:spring-orm 6.0.0 breaking changes
- Removed
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues
PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues was removed in org.springframework:spring-orm 6.0.0 central.sonatype.com - Removed
org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean
org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean was removed in org.springframework:spring-orm 6.0.0 central.sonatype.com - Signature changed
org.springframework.orm.hibernate5.support.OpenSessionInterceptor.openSession
The signature of OpenSessionInterceptor.openSession changed in org.springframework:spring-orm 6.0.0 central.sonatype.com - Signature changed
org.springframework.orm.hibernate5.support.OpenSessionInViewFilter.doFilterInternal
Was protected void doFilterInternal(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.FilterChain); now protected void doFilterInternal(jakarta.servlet.http.HttpServletRequest... central.sonatype.com - Signature changed
org.springframework.orm.hibernate5.support.OpenSessionInViewFilter.lookupSessionFactory
Was protected org.hibernate.SessionFactory lookupSessionFactory(javax.servlet.http.HttpServletRequest); now protected org.hibernate.SessionFactory lookupSessionFactory(jakarta.servlet.http.HttpServletRequest). central.sonatype.com - Signature changed
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Was abstract class AbstractEntityManagerFactoryBean implements org.springframework.beans.factory.FactoryBean<javax.persistence.EntityManagerFactory>, org.springframework.beans.factory.BeanClassLoaderAware... central.sonatype.com - Signature changed
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createEntityManagerFactoryProxy
Was protected javax.persistence.EntityManagerFactory createEntityManagerFactoryProxy(javax.persistence.EntityManagerFactory); now protected jakarta.persistence.EntityManagerFactory... central.sonatype.com - Signature changed
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createNativeEntityManagerFactory
Was protected abstract javax.persistence.EntityManagerFactory createNativeEntityManagerFactory(); now protected abstract jakarta.persistence.EntityManagerFactory createNativeEntityManagerFactory(). central.sonatype.com - Signature changed
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.getObject
Was javax.persistence.EntityManagerFactory getObject(); now jakarta.persistence.EntityManagerFactory getObject(). central.sonatype.com - Signature changed
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.getObjectType
Was Class<? extends javax.persistence.EntityManagerFactory> getObjectType(); now Class<? extends jakarta.persistence.EntityManagerFactory> getObjectType(). central.sonatype.com
And 79 more in this version. Sign up to see every change
org.springframework:spring-orm 6.0.0-M6 breaking changes
- Removed
Support for setting the default CacheAwareContextLoaderDelegate via system property has been removed. github.com - Removed
GenericPropertiesContextLoader
The deprecated GenericPropertiesContextLoader has been removed from the TestContext framework. github.com - Removed
RuntimeHintsUtils
The obsolete RuntimeHintsUtils class has been removed. github.com - Removed
SynthesizedAnnotation
The deprecated SynthesizedAnnotation interface has been removed. github.com - Renamed
ApplicationContextAotGenerator.generateApplicationContext
The generateApplicationContext() method in ApplicationContextAotGenerator was renamed. github.com - Behavior changed
ClassPathResource.getPath
ClassPathResource#getPath now returns an absolute path without a leading slash. github.com - Behavior changed
SynthesizedAnnotation
Annotation proxies no longer implement SynthesizedAnnotation. github.com - Default changed
ignoreDefaultModelOnRedirect
The ignoreDefaultModelOnRedirect property is deprecated and now defaults to true. github.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
org.springframework:spring-orm 6.0.0-M5 breaking changes
- Behavior changed
Nested exception messages no longer include the messages from the causal chain, so code parsing these messages may change. github.com - Default changed
Spring MVC uses PathPatternParser by default, so code relying on the previous path matching behavior may change. github.com
And 1 more in this version.
org.springframework:spring-orm 6.0.0-M4 breaking changes
- Removed
MergedAnnotations
The TYPE_HIERARCHY_AND_ENCLOSING_CLASSES search strategy for MergedAnnotations is removed. github.com - Behavior changed
@RequestMapping
MediaType parameters in the consumes condition of @RequestMapping are no longer considered when matching requests. github.com
org.springframework:spring-orm 6.0.0-M3 breaking changes
- Removed
SocketUtils
The deprecated SocketUtils class is removed. github.com - Behavior changed
@Bean
@Bean method overloading is now prevented by default, so overloaded bean methods may fail or behave differently. github.com
org.springframework:spring-orm 6.0.0-M1 breaking changes
- Removed
Support for the deprecated Java SecurityManager is removed. github.com - Behavior changed
@Async
Each method executed asynchronously, including through class-level @Async, must declare a Future or void return type. github.com
And 2 more in this version.
Related packages
- org.springframework:spring-aop
- org.springframework:spring-aspects
- org.springframework:spring-beans
- org.springframework:spring-context
- org.springframework:spring-context-support
- org.springframework:spring-core
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.