Labs
  1. Labs
  2. LABS-466

[build] Optimize speed by limiting JPA schema creation inspection

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Current
    • Fix Version/s: Next
    • Component/s: Magma
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Simone Gianni
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development