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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • 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

        Attachments

          Activity

            People

            Assignee:
            brmeyer Brett Meyer (Inactive)
            Reporter:
            zroubali Zbyněk Roubalík
            Archiver:
            samahaja Sagar Mahajan

              Dates

              Created:
              Updated:
              Resolved:
              Archived: