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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Thu Sep 04 2008 - 07:46:11 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Created: (CAY-1104) Modeler misses new renamed attributes, relationship mappings"

    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.
    



    This archive was generated by hypermail 2.0.0 : Thu Sep 04 2008 - 07:47:26 EDT