Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1474

@PersistenceContext annotations should refer to unit name 'James'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 3.0.0-beta5
    • Spring Container
    • None

    Description

      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.

      Attachments

        1. JAMES-1474.patch
          3 kB
          Marco Zapletal

        Activity

          People

            eric@apache.org Eric Charles
            marcozapletal Marco Zapletal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified