OpenJPA
  1. OpenJPA
  2. OPENJPA-612 Add support for calculating update value in QueryImpl.updateInMemory
  3. OPENJPA-616

InMemoryUpdate support for functions returning numeric value such as ABS, SQRT, SIZE etc.

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      The remaining work for support bulk updates that needed to be evaluated in memory.
      Math operation (+, -, *, /, mod) and most of the functions returning Strings are resolved in OPENJPA-612.

      The in memory update support is not complete until all new_value that can be expressed in JPQL are supported.

      Those new_value that we still need the support are:
      math_expression : SQRT, ABS, SIZE
      datetime functions
      boolean value
      enum value
      NULL
      simple_entity_expression

        Activity

        Catalina Wei created issue -
        Hide
        Fay Wang added a comment -

        This patch contains support for ABS, SQRT functions.

        Show
        Fay Wang added a comment - This patch contains support for ABS, SQRT functions.
        Fay Wang made changes -
        Field Original Value New Value
        Attachment openjpa0529.patch [ 12383046 ]
        Hide
        Catalina Wei added a comment -

        Patch provided by Fay Wang has been committed under r661472, but incorrectly tagged under issue OPENJPA-617,
        it should be OPENJPA-616.
        In this patch, SQRT, and ABS functions are added.
        The remaing datetime function will be provided under a new sub-task.

        Show
        Catalina Wei added a comment - Patch provided by Fay Wang has been committed under r661472, but incorrectly tagged under issue OPENJPA-617 , it should be OPENJPA-616 . In this patch, SQRT, and ABS functions are added. The remaing datetime function will be provided under a new sub-task.
        Catalina Wei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Michael Dick made changes -
        Fix Version/s 1.2.0 [ 12313102 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 8m 1 Catalina Wei 29/May/08 23:52
        Resolved Resolved Closed Closed
        648d 19h 40m 1 Donald Woods 09/Mar/10 18:32

          People

          • Assignee:
            Unassigned
            Reporter:
            Catalina Wei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development