Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M3
    • Component/s: query
    • Labels:
      None

      Description

      JPA 2.0 has introduced specification for strictly-typed dynamic query construction a.k.a Criteria API. The design challenge to support this feature comes from the following
      1. how to leverage existing OpenJPA query infrastructure?
      2. the type-strictness is supported on the basis of a instantiated meta-model – this is new for OpenJPA query infrastructure. Should we introduce more type-strictness in OpenJPA query infrastructure or not?

      The design goals (currently)
      1. select current design pattern rather than some arbitrary hack to bridge existing OpenJPA query infrastructure and JPA 2.0 type-strict Criteria. Possibly it is Adapter pattern.
      2. Do not change OpenJPA query infrastructure with more type-strictness (it is not type-free after all). Rather inject type information from the artifacts that implement new Criteria API into OpenJPA query artifacts.

      The implementation strategy:
      1. Prototype the approach first.
      2. Solidify a design that can be boiler plated (ok, almost) for numerous supported query expression and clauses. Then delegate construction of these parts.

        Issue Links

          Activity

          Pinaki Poddar created issue -
          Pinaki Poddar made changes -
          Field Original Value New Value
          Link This issue is part of OPENJPA-1007 [ OPENJPA-1007 ]
          Pinaki Poddar made changes -
          Link This issue relates to OPENJPA-1014 [ OPENJPA-1014 ]
          Jeremy Bauer made changes -
          Parent OPENJPA-1052 [ 12424122 ]
          Issue Type New Feature [ 2 ] Sub-task [ 7 ]
          Jeremy Bauer made changes -
          Jeremy Bauer made changes -
          Donald Woods made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Fix Version/s 2.0.0-M1 [ 12313624 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1195 [ OPENJPA-1195 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1198 [ OPENJPA-1198 ]
          Pinaki Poddar made changes -
          Affects Version/s 2.0.0 [ 12314019 ]
          Component/s query [ 12311309 ]
          Jeremy Bauer made changes -
          Pinaki Poddar made changes -
          Link This issue is blocked by OPENJPA-1225 [ OPENJPA-1225 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1241 [ OPENJPA-1241 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1265 [ OPENJPA-1265 ]
          Pinaki Poddar made changes -
          Link This issue is blocked by OPENJPA-1267 [ OPENJPA-1267 ]
          Pinaki Poddar made changes -
          Link This issue is blocked by OPENJPA-1267 [ OPENJPA-1267 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1267 [ OPENJPA-1267 ]
          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 -
          Link This issue incorporates OPENJPA-1276 [ OPENJPA-1276 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1277 [ OPENJPA-1277 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1278 [ OPENJPA-1278 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1288 [ OPENJPA-1288 ]
          Pinaki Poddar made changes -
          Link This issue incorporates OPENJPA-1290 [ OPENJPA-1290 ]
          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 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          149d 16m 1 Pinaki Poddar 27/Aug/09 17:58

            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 - 1,344h
                1,344h
                Remaining:
                Remaining Estimate - 1,344h
                1,344h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development