9. A computer-readable storage medium configured with data and with instructions that when executed by at least one processor causes the processor(s) to perform a process for managing object persistence, the process comprising the steps of: obtaining an ORM session from an object-relational mapper; receiving in a memory a code which contains calls to a fluent interface in an API Pattern; executing the code with at least one processor; and in the course of executing the code, automatically manipulating a persistence ignorant object within the ORM session in a manner consistent with the API Pattern.
9. A computer-readable storage medium configured with data and with instructions that when executed by at least one processor causes the processor(s) to perform a process for managing object persistence, the process comprising the steps of: obtaining an ORM session from an object-relational mapper; receiving in a memory a code which contains calls to a fluent interface in an API Pattern; executing the code with at least one processor; and in the course of executing the code, automatically manipulating a persistence ignorant object within the ORM session in a manner consistent with the API Pattern. 15. The configured medium of claim 9 , wherein executing the code includes manipulating a persistence ignorant object in at least one of the following ways: accessing a non-scalar property that depends on the containing object for persistence; checking whether a property of the object is marked as modified; marking a property of the object as modified.