1. A system, comprising: a processor; and memory coupled to the processor and configured to store program instructions executable by the processor to implement a class structure based data object enhancer configured to: input one or more classes; analyze the structure of the one or more classes to determine a persistence structure specifying data fields of the one or more classes to be persisted; and generate one or more enhanced classes corresponding to the one or more classes such that an object of the one or more enhanced classes is enhanced to persist data of the data fields to be persisted according to the persistence structure, wherein said data of the data fields to be persisted is data of said object; wherein the generation of each of said one or more enhanced classes comprises adding to the corresponding one of said one or more classes, one or more calls to persist data fields as specified by the persistence structure.