[
https://issues.apache.org/jira/browse/JAMES-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571290#comment-13571290
]
Eric Charles commented on JAMES-1474:
-------------------------------------
Sound logical Marco.
Patch welcome as always :)
Eric
> @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
> 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: [email protected]
For additional commands, e-mail: [email protected]