Skip to main content

[jpa-spec issues] [JIRA] Created: (JPA_SPEC-72) Allow @PersistenceContext to be used on parameters ot enable constructor injection of EntityManagers

  • From: "Oliver Gierke (JIRA)" < >
  • To:
  • Subject: [jpa-spec issues] [JIRA] Created: (JPA_SPEC-72) Allow @PersistenceContext to be used on parameters ot enable constructor injection of EntityManagers
  • Date: Fri, 7 Feb 2014 11:12:49 +0000 (UTC)
  • Auto-submitted: auto-generated

Allow @PersistenceContext to be used on parameters ot enable constructor 
injection of EntityManagers
----------------------------------------------------------------------------------------------------

                 Key: JPA_SPEC-72
                 URL: https://java.net/jira/browse/JPA_SPEC-72
             Project: jpa-spec
          Issue Type: Improvement
            Reporter: Oliver Gierke


Currently it's not possible to inject EntityManagers into constructors as 
@PersistenceContext is defined to not be allowed on parameters. it would be 
cool to enable this as users could then design application components using 
constructor injection only.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jpa-spec issues] [JIRA] Created: (JPA_SPEC-72) Allow @PersistenceContext to be used on parameters ot enable constructor injection of EntityManagers

Oliver Gierke (JIRA) 02/07/2014
 
 
Close
loading
Please Confirm
Close