Dimitrios Liapis created OPENJPA-2737:
-----------------------------------------

             Summary: Make @PersistenceContext support PARAMETER and 
CONSTRUCTOR Target ElementType's
                 Key: OPENJPA-2737
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2737
             Project: OpenJPA
          Issue Type: Improvement
            Reporter: Dimitrios Liapis


@PersistenceContext is currently supporting java.lang.annotation.Target: TYPE, 
METHOD and FIELD java.lang.annotation.ElementType.

We need to enhance it to also support ElementType's: CONSTRUCTOR and PARAMETER 
so that we can support Injection in immutable objects that say don't provide 
setters and only accept parameters via constructor storing them in final fields.

Please let me know if I can in any way assist on implementing this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to