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

        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development