Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-69

Using an extended persistence context in a stateless session bean should throw an exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Beta1
    • None
    • JPA / Hibernate
    • None

    Description

      Using an extended persistence context in a stateless session bean should not initiate. It should throw an exception to notify the user of incorrect use.

      See JPA 2.0 spec, section 7.6.2:

      "A container-managed extended persistence context can only be initiated within the scope of a stateful session bean."

      Attachments

        Issue Links

          Activity

            People

              smarlow1@redhat.com Scott Marlow
              kwutzke@web.de Ka Wu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: