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

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

      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."

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

              Created:
              Updated:
              Resolved: