×

System and method for efficient relational query generation and tuple-to-object translation in an object-relational gateway supporting class inheritance

  • US 5,850,544 A
  • Filed: 06/06/1995
  • Issued: 12/15/1998
  • Est. Priority Date: 06/06/1995
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer program product comprising a computer readable medium having computer program logic recorded thereon for enabling a processor to process object-oriented queries in a computing environment having a relational database management system (RDBMS), objects in said computing environment conforming to a class inheritance hierarchy defined by an object-oriented schema, said computer program logic comprising:

  • receiving means for enabling the processor to receive an object-oriented query and at least one prefetch path from an object-oriented source, said object-oriented query identifying one or more target objects of a target class which are desired to be constructed, said at least one prefetch path identifying one or more prefetch path objects which are desired to be constructed; and

    query set generating means for enabling the processor to generate from said object-oriented query a set of relational queries that, when processed, enable said RDBMS to retrieve tuples required to initialize base attributes of said target objects that are defined by said target class and by any super-classes and sub-classes of said target class;

    wherein said query set generating means includes;

    (a) means for determining whether the number of super-classes of said target class is greater than a super-class limit, and(b) means for generating a query for each super-class of said target class if the number of super-classes of said target class is greater than said super-class limit, wherein said query, when processed, enables said RDBMS to retrieve base attributes of said each super-class.

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