Abstract: The invention relates to a method for modeling relations in an object-relational mapping system. The method maps relations as an object pointer located in a child object pointing to a parent object and as a relation-object-type member of the parent object. Updating the relation is arranged so that it is performed only when there is a possibility that the relation or some of its elements is out-of-date.
Abstract: The invention relates to a method for handling a group of objects at run-time in an object-oriented system. The method marks (1200) beforehand object pointers between different objects of the object group with a group definition identifying the group, and handles (1201-1204) the objects of the object group iteratively at run-time by beginning from one first object of the object group and traversing the object pointers comprising said group definition from one object to another.