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 "Eric Charles (JIRA)" <se...@james.apache.org> on 2013/02/06 07:55:13 UTC

[jira] [Closed] (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 ]

Eric Charles closed JAMES-1474.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta5
         Assignee: Eric Charles

Committed to trunk. Thx Marco.
                
> @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
>            Assignee: Eric Charles
>            Priority: Minor
>             Fix For: 3.0-beta5
>
>         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