You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrey Razumovsky (JIRA)" <ji...@apache.org> on 2009/11/27 12:11:39 UTC

[jira] Created: (CAY-1320) ROP: registerNewObject() does not pick up changes in previously transient object

ROP: registerNewObject() does not pick up changes in previously transient object
--------------------------------------------------------------------------------

                 Key: CAY-1320
                 URL: https://issues.apache.org/jira/browse/CAY-1320
             Project: Cayenne
          Issue Type: Bug
            Reporter: Andrey Razumovsky
            Assignee: Andrey Razumovsky


Simple consequence to reproduce:

1. create a DO : new ROPArtist()
2. artist.setName("...")
3. register in CayContext()
4. Commit()

You can see that "name" is not persisted in DB. if name is mandatory, commit fails.
On server it works OK

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


[jira] Updated: (CAY-1320) ROP: registerNewObject() does not pick up changes in previously transient object

Posted by "Ari Maniatis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ari Maniatis updated CAY-1320:
------------------------------

    Component/s: Core Library

> ROP: registerNewObject() does not pick up changes in previously transient object
> --------------------------------------------------------------------------------
>
>                 Key: CAY-1320
>                 URL: https://issues.apache.org/jira/browse/CAY-1320
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>            Reporter: Andrey Razumovsky
>            Assignee: Andrey Razumovsky
>
> Simple consequence to reproduce:
> 1. create a DO : new ROPArtist()
> 2. artist.setName("...")
> 3. register in CayContext()
> 4. Commit()
> You can see that "name" is not persisted in DB. if name is mandatory, commit fails.
> On server it works OK

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