cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <...@cayenne.apache.org>
Subject [jira] Created: (CAY-1103) rollbackChanges is broken in ROP CayenneContext
Date Thu, 04 Sep 2008 11:46:11 GMT
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.


Mime
View raw message