Call to exists() on JPAQuery will produce stacktrace log in case nothing is found #329

criew opened this Issue Jan 22, 2013 · 1 comment


None yet
2 participants

criew commented Jan 22, 2013

A call to exists() on a JPAQuery will end in AbstractJPAQuery.uniqueResult(), which logs javax.persistence.NoResultException in case nothing is found.

In our case produces a lot of misleading log statements, can that be changed (e.g. setting log level to TRACE or omitting the log statement)?


This comment has been minimized.

Show comment
Hide comment

timowest Feb 20, 2013


Released in 3.0.0.BETA2


timowest commented Feb 20, 2013

Released in 3.0.0.BETA2

@timowest timowest closed this Feb 20, 2013

@timowest timowest added this to the 3.0.0 milestone Apr 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment