Patent ID: 7716677
Filing Date: 2010-05-11
Classification: G06F

Abstract:
1. A computer-implemented method comprising: reading an object-relational (O/R) database mapping metadata file that provides a mapping of a Container-Managed Persistence (CMP) persistent object state and a Java Data Object state to a database; identifying the state of the CMP persistent object as being one of a predetermined set of CMP persistent object states; and mapping the state of the CMP persistent object to the Java Data Object state, in response to the state being identified as one of the predetermined CMP persistent object states, wherein the CMP persistent object is associated with a transactional context, and the mapping is based on the O/R database mapping metadata file; wherein the predetermined set of CMP persistent object states include DEFAULT AND-NOT-LOADED; DEFAULT-AND-LOADED; UPDATED; CREATED; REMOVED; and V-REMOVED and the Java Data Object states include Persistent-Clean, Hollow, Persistent-Dirty, Persistent-New, Persistent-Deleted, and Persistent-New-Deleted.