Uploaded image for project: 'Labs (Retired)'
  1. Labs (Retired)
  2. LABS-466

[build] Optimize speed by limiting JPA schema creation inspection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Current
    • Next
    • Magma
    • None

    Description

      Currently the Magma build scans all classes to find which ones needs JPA enhancements, and then delegate to the proper enhancer. This task is really time consuming, expecially when running in developer environment where it has to be carried out at each redeploy.

      It would be easier to identify entity classes and limit the scope, still not requiring the user to mantain a persistence.xml file.

      The hard part will be to avoid including classes explicitly "unmanaged" by the user. That is, if the user has 10 entity beans, and explicitly writes a persistence.xml file including only 9 of those classes. Proper check during build must be placed to avoid reporting all the 10 classes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            s.gianni Simone Gianni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: