[jira] Assigned: (CAY-1103) rollbackChanges is broken in ROP CayenneContext

From: Andrey Razumovsky (JIRA) ("Andrey)
Date: Thu Oct 09 2008 - 08:53:11 EDT

  • Next message: Loiko Dima (JIRA): "[jira] Updated: (CAY-1110) fetchLimit + DistinctResultIterator = fewer rows in the result"

         [ https://issues.apache.org/cayenne/browse/CAY-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrey Razumovsky reassigned CAY-1103:
    --------------------------------------

        Assignee: Andrey Razumovsky (was: Andrus Adamchik)

    > rollbackChanges is broken in ROP CayenneContext
    > -----------------------------------------------
    >
    > Key: CAY-1103
    > URL: https://issues.apache.org/cayenne/browse/CAY-1103
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrey Razumovsky
    > Fix For: 3.0
    >
    >
    > This test fails:
    >
    > ClientMtTable1 o = context.newObject(ClientMtTable1.class);
    > o.setGlobalAttribute1("1");
    > context.commitChanges();
    >
    > assertEquals("1", o.getGlobalAttribute1());
    > o.setGlobalAttribute1("2");
    > assertEquals("2", o.getGlobalAttribute1());
    > context.rollbackChanges();
    > assertEquals("1", o.getGlobalAttribute1());
    >

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



    This archive was generated by hypermail 2.0.0 : Thu Oct 09 2008 - 08:54:03 EDT