×

System and method for transforming a relational database to a hierarchical database

  • US 6,665,677 B1
  • Filed: 10/02/2000
  • Issued: 12/16/2003
  • Est. Priority Date: 10/01/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer-implemented method for transforming data in a relational database to a hierarchical database comprising:

  • creating an import map that maps each relational database field to a hierarchical field in the hierarchical database using a relational database schema and a hierarchical database schema, comprising;

    creating a hierarchical database schema, comprising at least one compound and at least one simple object;

    for each compound object, defining an SQL statement, which expresses a 1 to n relationship of the compound object to its parent object and which expresses source fields available for child objects of the compound object;

    relating each simple object to at least one source field name in its parent compound object;

    extracting the source field names from the relational database for all compound objects using the SQL statement; and

    allowing the simple object to access the source field names of its parent compound object to determine the source field names the simple object can map to, using the import map to import data from the relational database; and

    transforming the relational data into hierarchical documents, comprising;

    traversing the import map and each time an SQL statement is encountered, executing the SQL statement which results in a compound object dataset; and

    traversing each compound object dataset and finding the relational data for each simple object based on the dataset, whereby the relational data is transformed directly into hierarchical documents without using an intermediate step of transforming to a generic data type.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×