Uploaded image for project: '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.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • 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

      Attachments

        1. openjpa0529.patch
          6 kB
          Fay Wang

        Activity

          People

            Unassigned Unassigned
            fancy Catalina Wei
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: