Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1720

HHH-7861 EntityManager.find() throws EntityNotFoundException when entity is not found

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Migrated to another ITS
    • Affects Version/s: EAP 6.0.1
    • Fix Version/s: EAP 6.1.0
    • Component/s: Hibernate
    • Labels:
      None
    • Docs QE Status:
      NEW

      Description

      EntityManager.find() throws EntityNotFoundException instead of returning null when entity is not found. This issue occurs occasionally under specific circumstances.

      According to JPA specification EntityManager.find() should always return null, if entity is not found, EntityNotFoundException is not excpected.

      This issue is not a regression from the previous build, it seems to be a hidden bug in the implementation.

      https://hibernate.onjira.com/browse/HHH-7861

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brmeyer Brett Meyer
                Reporter:
                zroubali Zbyněk Roubalík
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: