You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Marco Zapletal (JIRA)" <se...@james.apache.org> on 2013/02/05 18:30:13 UTC

[jira] [Updated] (JAMES-1474) @PersistenceContext annotations should refer to unit name 'James'

     [ https://issues.apache.org/jira/browse/JAMES-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Zapletal updated JAMES-1474:
----------------------------------

    Attachment: JAMES-1474.patch

Thanks Eric, please find the patch attached
                
> @PersistenceContext annotations should refer to unit name 'James'
> -----------------------------------------------------------------
>
>                 Key: JAMES-1474
>                 URL: https://issues.apache.org/jira/browse/JAMES-1474
>             Project: James Server
>          Issue Type: Bug
>          Components: Spring Container
>    Affects Versions: Trunk
>            Reporter: Marco Zapletal
>            Priority: Minor
>         Attachments: JAMES-1474.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> The apache-james-mailbox-jpa project uses @PersistenceContext annotations for injecting the entity manager. As 'James' is used as the persistence unit name throughout the project, the @PersisteceContext annotations should refer to the corresponding unit name.
> This would allow to integrate James with custom code that uses a different entity manager factory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org