Restore translation of IllegalArgumentException for JPA
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run Details

See gh-35111
This commit is contained in:
Juergen Hoeller 2025-06-25 22:39:18 +02:00
parent b3dc75265d
commit 2e9e45ee55
1 changed files with 1 additions and 2 deletions

View File

@ -108,9 +108,8 @@ public class HibernateExceptionTranslator implements PersistenceExceptionTransla
if (ex.getCause() instanceof HibernateException hibernateEx) {
return convertHibernateAccessException(hibernateEx);
}
return EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(ex);
}
return null;
return EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(ex);
}
/**