Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-757

JPA should handle managed classes not listed in persistence.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M2, 3.0
    • None
    • None

    Description

      We need to be able to run class enhancer for JPA-managed classes even if they are not declared in persistence.xml... This makes the provider much more robust in respect to class loading order (what if an entity class was loaded before the provider initialization, etc.), results in less verbose descriptors and simplifies unit testing. We may also experiment with reloading of a previously loaded unenhanced class on provider startup.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: