Method and system to automatically generate software code
First Claim
1. A method to automatically generate software for an object to relational mapping system, the method including:
- reading class information respectively associated with each class of a plurality of classes;
reading meta-data based on the class information; and
automatically generating the plurality of classes based on the meta-data, the plurality of classes including a first class, a second class and a third class, the plurality of classes being used in the object to relational mapping system to enablean application program to access data that is persistently stored in a database and accessed by the application program from an instance of the first class, the first class being a data object class, the second class being utilized to create the instance of the data object class, the third class defining a plurality of read sets that respectively define a plurality of columns that are requested from the database by an instance of the third class and populated by the instance of the third class to the instance of the data object class.
2 Assignments
0 Petitions
Accused Products
Abstract
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.
74 Citations
18 Claims
-
1. A method to automatically generate software for an object to relational mapping system, the method including:
-
reading class information respectively associated with each class of a plurality of classes; reading meta-data based on the class information; and automatically generating the plurality of classes based on the meta-data, the plurality of classes including a first class, a second class and a third class, the plurality of classes being 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 the first class, the first class being a data object class, the second class being utilized to create the instance of the data object class, the third class defining a plurality of read sets that respectively define a plurality of columns that are requested from the database by an instance of the third class and populated by the instance of the third class to the instance of the data object class. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system to automatically generate software for an object to relational mapping system, the system including:
-
at least one machine including; a read module executable by the machine to read class information respectively associated with a plurality of classes, the read module to read meta-data based on the class information; and a class generator module executable by the machine to automatically generate the plurality of classes based on the meta-data, the plurality of classes includes a first class, a second class and a third class, 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 the first class, the first class is a data object class that is included in the plurality of classes, the second class is utilized to create the instance of the data object class, the third class defines a plurality of read sets that each determine a plurality of columns that are requested by an instance of the third class from the database and populated by the instance of the third class to the instance of the data object class. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory machine readable medium storing a set of instructions that, when executed by a machine, cause the machine to:
-
read class information respectively associated with each class of a plurality of classes; read meta-data based on the class information; and automatically generate the plurality of classes based on the meta-data, the plurality of classes includes a first class, a second class and a third class, 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 the first class, the first class is a data object class, the second class is utilized to create the instance of the data object class, the third class defines a plurality of read sets that each determine a plurality of columns that are requested by an instance of the third class from the database and populated by the instance of the third class to the instance of the data object class.
-
-
18. A system to automatically generate software for an object to relational mapping system, the system including:
-
a first means for reading class information respectively associated with a plurality of classes, the plurality of classes includes a first class, a second class and a third class, the first means for reading meta-data based on the class information; and a second means for automatically generating 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 the first class, the first class is a data object class, the second class is utilized to create the instance of the data object class, the third class defines a plurality of read sets that each determine a plurality of columns that are requested by an instance of the third class from the database and populated by the instance of the third class to the instance of the data object class.
-
Specification