persistence icon indicating copy to clipboard operation
persistence copied to clipboard

recoverable exceptions

Open gavinking opened this issue 1 month ago • 2 comments

Historically, JPA considered almost all exceptions unrecoverable, because there's no reasonable way to resync the persistence context with the database after a failure.

But EntityAgent (or whatever we end up naming it) does not have a persistence context, and so we should investigate whether we can relax this for operations executed via this new interface, and allow people to handle at most sorts of PersistenceException.

gavinking avatar Dec 04 '25 15:12 gavinking