jpa-spec
  1. jpa-spec
  2. JPA_SPEC-3

Allow components other than stateful sessions beans to initiate container-managed extended persistence contexts

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      It might be useful to support the use of container-managed extended persistence contexts in singleton session beans and/or application-scoped or conversation-scoped CDI components.

        Activity

        Hide
        donatasc added a comment -

        +100

        IMHO this was a huge miss in Java EE 6. Even though CDI introduced conversation scope, injection/creation of extended persistence context EM was not mentioned at all. EJB spec is also silent about extended PC, what caused me to post message like this to JPA mailing list:
        http://java.net/projects/jpa-spec/lists/users/archive/2013-01/message/51

        In general, extended persistence context is largely under-specified in regards to integration between CDI/EJB/JPA.

        Show
        donatasc added a comment - +100 IMHO this was a huge miss in Java EE 6. Even though CDI introduced conversation scope, injection/creation of extended persistence context EM was not mentioned at all. EJB spec is also silent about extended PC, what caused me to post message like this to JPA mailing list: http://java.net/projects/jpa-spec/lists/users/archive/2013-01/message/51 In general, extended persistence context is largely under-specified in regards to integration between CDI/EJB/JPA.

          People

          • Assignee:
            ldemichiel
            Reporter:
            ldemichiel
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: