1. A method for generating a persistent storage system, the method comprising the steps of: receiving as input an entity definition; automatically generating a persistent storage structure for a persistent storage medium using the entity definition; and automatically generating an interface for accessing the persistent storage medium.