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: Andrus Adamchik
             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.

Reply via email to