IP Library Granted Patent US 8,046,376
Granted Patent B2
US 8,046,376 · App. 12/783,452 · Granted Oct 25, 2011

Method and system to automatically generate classes for an object to relational mapping system

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,046,376
App. No.
12/783,452
Granted
Oct 25, 2011
Kind
B2
Abstract

There is provided a system to respond to a request for data. The system receives a request for the data, queries at least two data sources for the data based on the request and receives results that include the data that is populated to at least one data object.

Claims (30)

1. A computerized method to automatically generate software for an object to relational mapping system, the method comprising:

reading an Extensible Stylesheet Language (XSL) template from a class definition file;

selecting, by use of a processor, an Extensible Markup Language (XML) meta-data based on the XSL template;

reading the selected XML meta-data from a configuration file; and

generating a plurality of classes for a data object based on the XML meta-data as defined by the XSL template, the plurality of classes being used in the object to relational mapping system.

2. The method of claim 1 , wherein the XML meta-data is generated by a database schema utility that reads at least one database that includes at least one table.

3. The method of claim 2 , further comprising assigning names to attributes of the XML meta-data based on names of fields in the table.

4. The method of claim 2 , further comprising assigning assumed types to attributes of the XML meta-data.

5. The method of claim 2 , further comprising a manual editing process to operate on the XML meta-data.

6. The method of claim 2 , further comprising an automatic editing process to operate on the XML meta-data.

7. The method of claim 1 , wherein the XSL template includes inheritance rules that are applied to the generated plurality of classes.

8. The method of claim 1 , further comprising regenerating the plurality of classes in response to modifications in the class definition file or the configuration file.

9. A computerized system to automatically generate software for an object to relational mapping system, the system comprising:

at least one processor;

a read module executable by the at least one processor to read an XSL template from a class definition file, select an XML meta-data based on the XSL template and read the selected XML meta-data from a configuration file; and

a class generator module executable by the at least one processor to generate a plurality of classes for a data object based on the XML meta-data as defined by the XSL template, the plurality of classes used in the object to relational mapping system.

10. The system of claim 9 , further comprising a data base schema utility module to generate the XML meta-data based on reading at least one database that includes at least one table.

11. The system of claim 10 , wherein the data base schema utility module is to assign names to attributes of the XML meta-data based on names of fields in the table.

12. The system of claim 10 , wherein the data base schema utility module is to assign assumed types to attributes of the XML meta-data.

13. The system of claim 9 , wherein the XSL template includes inheritance rules that are applied to the generated plurality of classes.

14. The system of claim 9 , wherein the class generator module regenerates the plurality of classes in response to modifications in the class definition file or the configuration file.

15. A non-transitory machine readable storage medium storing a set of instructions that, when executed by a machine, cause the machine to:

read an Extensible Stylesheet Language (XSL) template from a class definition file;

select an Extensible Markup Language (XML) meta-data based on the XSL template;

read the selected XML meta-data from a configuration file; and

generate a plurality of classes for a data object based on the XML meta-data as defined by the XSL template, the plurality of classes used in the object to relational mapping system.

16. The machine readable storage medium of claim 15 which further causes the machine to generate the XML meta-data based on reading at least one database that includes at least one table.

17. The machine readable storage medium of claim 16 which further causes the machine to assign names to attributes of the XML meta-data based on names of fields in the table.

18. The machine readable storage medium of claim 16 which further causes the machine to assign assumed types to attributes of the XML meta-data.

19. The machine readable storage medium of claim 15 which further causes the machine to regenerate the plurality of classes in response to modifications in the class definition file or the configuration file.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 23, 2015
From: EBAY INC.
To: PAYPAL, INC.
Reel/Frame 036169/0707 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 29, 2015
From: SEITZ, GREG; KASTEN, CHRISTOPHER J.
To: EBAY INC.
Reel/Frame 034840/0373 →