IP Library Granted Patent US 9,342,581
Granted Patent B2
US 9,342,581 · App. 13/110,440 · Granted May 17, 2016

System to disclose the internal structure of persistent database objects

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 9,342,581
App. No.
13/110,440
Granted
May 17, 2016
Kind
B2
Abstract

A system may provide generation of a file to declare one or more persistent classes, the file formatted according to a markup language syntax, and generation, based on the file, of code of an object-oriented language to declare the one or more persistent classes and to describe a structure of each of the one or more persistent classes. Further aspects may include calling a constructor to register an interface to a description of a persistent class, accessing the registered interface to determine the structure of the persistent class, and processing an instance of the persistent class based on the determined structure.

Claims (57)

1. A method, comprising:

calling a constructor to register an interface to a description of a persistent class;

accessing the registered interface to determine an internal structure of the persistent class;

processing an instance of the persistent class based on the determined internal structure, wherein the instance of the persistent class is a persistent database object;

determining, based on the determined internal structure, members of the persistent database object that are filled with default values;

storing the persistent database object in a database;

reducing storage demands on the database by removing the default values from the persistent database object before the storing of the persistent database object in the database;

after the storing of the persistent database object in the database, reading the persistent database object from the database; and

after the reading of the persistent database object from the database, populating the determined members of the persistent database object with the default values of the persistent database object that were removed from the persistent database object before the storing of the persistent database object to reduce storage demands on the database.

2. The method according to claim 1 , further comprising:

registering the persistent class in an object management system, and

wherein the interface is registered in the object management system.

3. The method according to claim 1 , further comprising:

defining an index associated with one or more members of the instance based on the determined internal structure.

4. The method according to claim 1 , further comprising:

defining a key associated with one or more members of the instance based on the determined internal structure.

5. The method according to claim 1 , further comprising:

verifying referential integrity of the instance.

6. The method according to claim 1 , wherein the populating the determined members of the persistent database object with the default values comprises:

populating the determined members of the persistent database object with the default values before transferring the persistent database object to a requesting application.

7. The method according to claim 6 , further comprising:

transferring the persistent database object to the requesting application after the populating of the determined members of the persistent database object with the default values.

8. A non-transitory computer-readable medium storing program code, the program code comprising:

code to call a constructor to register an interface to a description of a persistent class;

code to access the registered interface to determine an internal structure of the persistent class;

code to process an instance of the persistent class based on the determined internal structure, wherein the instance of the persistent class is a persistent database object;

code to determine, based on the determined internal structure, members of the persistent database object that are filled with default values;

code to store the persistent database object in a database; and

code to reduce storage demands on the database by removing the default values from the persistent database object before the storing of the persistent database object in the database;

code to read the persistent database object from the database after the storing of the persistent database object in the database; and

code to, after the reading of the persistent database object from the database, populate the determined members of the persistent database object with the default values of the persistent database object that were removed from the persistent database object before the storing of the persistent database object to reduce storage demands on the database.

9. The medium according to claim 8 , the program code further comprising:

code to register the persistent class in an object management system, and

wherein the interface is registered in the object management system.

10. The medium according to claim 8 , the program code further comprising:

code to define an index associated with one or more members of the instance based on the determined internal structure.

11. The medium according to claim 8 , the program code further comprising:

code to define a key associated with one or more members of the instance based on the determined internal structure.

12. The medium according to claim 8 , the program code further comprising:

code to verify referential integrity of the instance.

13. The medium according to claim 8 , wherein the code to populate the determined members of the persistent database object with the default values comprises:

code to populate the determined members of the persistent database object with the default values before transferring the persistent database object to a requesting application.

14. The medium according to claim 13 , wherein the code to read the persistent database object from the database further comprising:

code to transfer the persistent database object to the requesting application after the populating of the determined members of the persistent database object with the default values.

15. A system comprising:

program code comprising:

an object management system to call a constructor to register an interface to a description of a persistent class; and

a database management system kernel to access the registered interface to determine an internal structure of the persistent class, to process an instance of the persistent class based on the determined internal structure, wherein the instance of the persistent class is a persistent database object, to determine, based on the determined internal structure, members of the persistent database object that are filled with default values, to store the persistent database object in a database, to reduce storage demands on the database by removing the default values from the persistent database object before the storing of the persistent database object in the database, to read the persistent database object from the database after the storing of the persistent database object in the database, and to, after the reading of the persistent database object from the database, populate the determined members of the persistent database object with the default values of the persistent database object that were removed from the persistent database object before the storing of the persistent database object to reduce storage demands on the database; and

at least one processor to execute the program code.

16. The system according to claim 15 , the object management system to register the persistent class and the interface.

17. The system according to claim 15 , the database management system kernel further to define an index associated with one or more members of the instance based on the determined internal structure.

18. The system according to claim 15 , the database management system kernel further to define a key associated with one or more members of the instance based on the determined internal structure.

19. The system according to claim 15 , the database management system kernel further to verify referential integrity of the instance.

20. The system according to claim 15 , wherein the database management system kernel to populate the determined members of the persistent database object with the default values comprises:

a database management system kernel to populate the determined members of the persistent database object with the default values before transferring the persistent database object to a requesting application.

21. The system according to claim 20 , wherein the database management system kernel to read the persistent database object from the database comprises:

a database management system kernel to transfer the persistent database object to the requesting application after the populating of the determined members of the persistent database object with the default values.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 6, 2021
From: GOERTZ, PETER
To: SAP AG
Reel/Frame 055839/0815 →
CHANGE OF NAME Recorded Aug 26, 2014
From: SAP AG
To: SAP SE
Reel/Frame 033625/0223 →