with a bulkchange , this will become just one save . concode_field_sep int saveCount concode_elem_sep int x concode_elem_sep int y concode_field_sep void setY concode_elem_sep void setX concode_elem_sep void set concode_elem_sep void save concode_elem_sep void noBulkChange concode_elem_sep void nestedBulkChange
void function ( ) { Point loc0 = new Point ( ) ; BulkChange loc1 = new BulkChange ( loc0 ) ; try { loc0 . set ( 0 , 0 ) ; } finally { loc1 . commit ( ) ; } assertEquals ( 1 , loc0 . saveCount ) ; }