Details

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

      Description

      Support a mechanism to translate a Criteria Query instance into a String.

      The string syntax should be almost JPQL but not exactly. Because some Criteria Query expressions do not have a direct JPQL representation.
      I will refer this almost JPQL-like syntax as Criteria Query Language or CQL – which will provide ample scope of confusion being homophonic with SQL.

      From a technical perspectives, conversion to a string format should address the following
      1. the string should look more like JPQL than a mere translation of internal expressions (say BETWEEN in two EQUAL nodes ANDed together internally)
      2. the criteria query may be incomplete. This will be useful for the IDE tools to display the string as an user constructs the query.

        Issue Links

          Activity

          Pinaki Poddar created issue -
          Pinaki Poddar made changes -
          Field Original Value New Value
          Link This issue is part of OPENJPA-1013 [ OPENJPA-1013 ]
          Pinaki Poddar made changes -
          Link This issue is part of OPENJPA-1268 [ OPENJPA-1268 ]
          Pinaki Poddar made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Pinaki Poddar made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0-M3 [ 12314148 ]
          Pinaki Poddar made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Affects Version/s 2.0.0 [ 12314019 ]
          Affects Version/s 2.0.0-beta [ 12314149 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

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

                  Development