tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luciano Resende (JIRA)" <...@tuscany.apache.org>
Subject [jira] Updated: (TUSCANY-3524) Issue with command caching in ChangeFactory
Date Thu, 01 Apr 2010 00:44:27 GMT

     [ https://issues.apache.org/jira/browse/TUSCANY-3524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Luciano Resende updated TUSCANY-3524:

    Fix Version/s: Java-SCA-Next

> Issue with command caching in ChangeFactory
> -------------------------------------------
>                 Key: TUSCANY-3524
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3524
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java DAS RDB
>    Affects Versions: Java-DAS-beta1
>            Reporter: Florian Pinel
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-Next
>         Attachments: TUSCANY-3524.patch
> In ChangeFactory.getCreateCommand() the create command is currently cached. This works
fine if the command SQL is provided in the DAS config (table.getCreate()).
> However, when the command is generated from the passed data object, data may be saved
incorrectly if 2 children are created, each with different properties set.
> A similar issue has already been fixed in ChangeFactory.getUpdateCommand(), by not caching
the update command.
> I suggest that we modify getCreateCommand() and getUpdateCommand() to cache commands
if and only if the command SQL comes from the DAS config.

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

View raw message