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

Closed
criew opened this Issue Jan 22, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@criew

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)?

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Feb 20, 2013

Member

Released in 3.0.0.BETA2

Member

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