openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalina Wei (JIRA)" <>
Subject [jira] Resolved: (OPENJPA-612) Add support for calculating update value in QueryImpl.updateInMemory
Date Wed, 28 May 2008 22:28:44 GMT


Catalina Wei resolved OPENJPA-612.

    Resolution: Fixed

InMemoryUpdate support for  Math function and String function evaluation are done.
The remaining work for functions returning numeric value such as ABS, SQRT, SIZE  etc. will
be done on needed basis.
A subtask will be opened for that.

> Add support for calculating update value in QueryImpl.updateInMemory
> --------------------------------------------------------------------
>                 Key: OPENJPA-612
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Fay Wang
>         Attachments: openjpa.patch, openjpa0526.patch, openjpa0528a.patch
> Since Informix does not support update with in/exists subquery in the where clause, when
doing the bulk update against informix, e.g., 
>      "update DeptBeanAno d set d.budget = (d.budget * ?1 + ?2) where =
> we encounter the error of "only-update-primitives" during updateInMemory. 
>      The attached patch fixes this problem by beefing up the support for arithmetic calcuation
of the update value for updateInMemory.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message