DDC-208: AbstractQuery::getSingleResult() should throw exception if no row is found #255

Open
opened 2026-01-22 12:32:32 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 12, 2009).

Jira issue originally created by user @beberlei:

AbstractQuery::getSingleResult() should throw exception if no row is found.

This is also what JPA does, it throws a NoResultException, so we should add a Doctrine\ORM\NoResultException for this.

Originally created by @doctrinebot on GitHub (Dec 12, 2009). Jira issue originally created by user @beberlei: AbstractQuery::getSingleResult() should throw exception if no row is found. This is also what JPA does, it throws a NoResultException, so we should add a Doctrine\ORM\NoResultException for this.
admin added the Improvement label 2026-01-22 12:32:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#255