Patent ID: 7389304
Filing Date: 2008-06-17
Classification: G06F,Y10S

Abstract:
1. A method for generating a relational view, comprising: receiving a command identifying a base model, a relational schema, and a ViewType, wherein the base model represents a set of classes, attributes of the classes, and associations between classes, and wherein the ViewType references the set of classes, the attributes of the classes, and the associations between the classes of the base model as ViewType objects; executing the command to automatically generate a statement to create a relational view of instance data for the base model using the ViewType by walking down the ViewType, wherein for each class, the attributes of the class are selected and the associations are recursively followed from the class to related classes where attributes are selected, and wherein the statement to create the relational view identifies columns corresponding to attributes defined in the ViewType; and executing the statement to create the relational view.