Disclosed is a technique for generating a relational view. Initially,
identification of a base model, a relational schema, and a ViewType are
received. Then, a statement to create a relational view of the instance
data for the base model using the ViewType is automatically generated.