Patent ID: 7296028

Claim:
A method implemented on a computing system having at least one processor comprising: providing a representation of an object-oriented set of data; analyzing specified characteristics of each object represented in the object-oriented representation; based on the analysis, generating a default object-relational (“O/R”) mapping that maps each object of the object-oriented representation to a relational database according to a set of default O/R mapping rules; storing the O/R mapping on a storage medium; wherein analyzing comprises identifying entity beans within the representation of the object-oriented set of data and wherein mapping comprises mapping each entity bean to a unique table in the relational database and further comprises identifying persistent fields for each entity bean within the representation of the object-oriented set of data and wherein mapping comprises mapping each persistent field to a column of the table mapped to the entity bean; wherein the default O/R mapping rules specify that certain types of persistent fields are to be mapped only to certain types of database data types, wherein mapping comprises mapping each persistent field of a particular type to a column having a data type corresponding to the persistent field type; wherein the default O/R mapping rules specify that one type of persistent field is a dependent-value persistent field and wherein the O/R mapping rules specify different types of O/R mappings for different dependent-value persistent fields; mapping a first dependent-value persistent field to a single column of type java.sgl.Types.BLOB; and mapping a second dependent-value persistent field to a set of columns; wherein, as specified by the default O/R mapping rules, the second dependent-value persistent field is mapped to a set of columns only when the second dependent-value persistent field's dependent-value class has an empty constructor and all of the second dependent-value persistent field's fields are public.