According to a first aspect there is provided a system to automatically
generate software for an object to relational mapping system. The system
reads class information respectively associated with a plurality of
classes. The system reads meta-data based on the class information. In
addition the system automatically generates the plurality of classes
based on the meta-data. The plurality of classes to be used in the object
to relational mapping system to enable an application program to access
data that is persistently stored in a database and accessed by the
application program from an instance of a data object class that is
included in the plurality of classes. The plurality of classes further
includes a first class that is utilized to create the instance of the
data object class.