OpenJPA
  1. OpenJPA
  2. OPENJPA-1010

Instantiate meta-model classes for JPA 2.0 from source code annotations

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M3
    • Component/s: jpa
    • Labels:
      None

      Description

      JPA 2.0 has introduced a specification for strictly-typed dynamic query construction. The type-strictness is based on availability of a meta-model. The user application can either use meta-model API to access the type information or instantiate the meta-model (referred as canonical meta-model) with a set of auto-generated classes for compile-time binding. This issue refers to instantiating the canonical meta-model at compile-time.
      The process involves processing source code annotations or xml descriptors.

      Source code annotation processing support in Java platform has significantly changed across JDK version 5 and 6. In JDK5, the annotation processing was supported by a command-line tool named apt based on com.sun.mirror API library. In JDK 6, the annotation processing is more seamlessly integrated with javac compilation process with javax.annotation API libraries.

      While it is possible, albeit more complex, to support both style (they are not only based on different libraries, their life-cycle is somewhat different too), at this stage we will scope this activity to support only JDK 6 environment i.e. we assume that the user application compiles with a JDK6 compiler.

        Issue Links

          Activity

          Pinaki Poddar made changes -
          Link This issue relates to OPENJPA-1622 [ OPENJPA-1622 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Fix Version/s 2.0.0-M4 [ 12314149 ]
          Affects Version/s 2.0.0 [ 12314019 ]
          Pinaki Poddar made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 2.0.0-M3 [ 12314148 ]
          Fix Version/s 2.0.0-M4 [ 12314149 ]
          Pinaki Poddar made changes -
          Affects Version/s 2.0.0 [ 12314019 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1181 [ OPENJPA-1181 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Fix Version/s 2.0.0-M1 [ 12313624 ]
          Michael Dick made changes -
          Link This issue relates to OPENJPA-1040 [ OPENJPA-1040 ]
          Pinaki Poddar made changes -
          Original Estimate 672h [ 2419200 ]
          Remaining Estimate 672h [ 2419200 ]
          Pinaki Poddar made changes -
          Link This issue relates to OPENJPA-1011 [ OPENJPA-1011 ]
          Pinaki Poddar made changes -
          Link This issue is related to OPENJPA-1009 [ OPENJPA-1009 ]
          Pinaki Poddar made changes -
          Field Original Value New Value
          Link This issue is part of OPENJPA-1007 [ OPENJPA-1007 ]
          Pinaki Poddar created issue -

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Development