Missing EntityNotFoundException while calling getOne method [DATAJPA-1128] #1473
Labels
in: core
Issues in core support
status: declined
A suggestion or change that we don't feel we should currently apply
type: bug
A general bug
Indra Basak opened DATAJPA-1128 and commented
EntityNotFoundException
is expected while callinggetOne
method onJpaRepository
. However in some instances, the exception is wrapped inside the entity instead of a thrown exception.Method threw 'javax.persistence.EntityNotFoundException' exception. Cannot evaluate com.basaki.example.book.data.entity.BookEntity_$$_jvst97c_0.toString()
Affects: 2.0 M3 (Kay)
The text was updated successfully, but these errors were encountered: