spring 6.1.4
spring.orm
org.springframework.orm.jpa
JpaObjectRetrievalFailureException
Top
Description
Constructors
Methods
org.springframework.orm.jpa
public
Class JpaObjectRetrievalFailureException
extends
ObjectRetrievalFailureException
Class Inheritance
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.DataRetrievalFailureException
org.springframework.orm.ObjectRetrievalFailureException
org.springframework.orm.jpa.JpaObjectRetrievalFailureException
Annotations
@SuppressWarnings
:
serial
Imports
jakarta.
persistence.
EntityNotFoundException
,
org.
springframework.
orm.
ObjectRetrievalFailureException
JPA-specific subclass of ObjectRetrievalFailureException. Converts JPA's EntityNotFoundException.
Author
Juergen Hoeller
Since
2.0
See Also
EntityManagerFactoryUtils#convertJpaAccessExceptionIfPossible
Constructor Summary
Access
Constructor and Description
public
JpaObjectRetrievalFailureException
(
EntityNotFoundException
ex
)
Method Summary
Inherited from
org.springframework.orm.ObjectRetrievalFailureException
:
getIdentifier
getPersistentClass
getPersistentClassName
Constructor Detail
JpaObjectRetrievalFailureException
back to summary
public
JpaObjectRetrievalFailureException
(
EntityNotFoundException
ex
)