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.
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. 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.