persistence
persistence copied to clipboard
recoverable exceptions
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.