Database development system with methods for java-string reference lookups of column names
AssigneeBorland International, Inc.
InventorSteven T. Shaughnessy
Life of this patent
Estimating the term…
Loading patent…
AssigneeBorland International, Inc.
InventorSteven T. Shaughnessy
Estimating the term…
A Java-based rapid application development (RAD) environment for creating applications providing named-based programmatic access to information from columns in databases is described. For increasing the efficiency by which named-based references to database columns are processed by application programs, the system provides methodology for rapid lookups of column names, using a reference cache storing 32-bit references to immutable strings (e.g., Java strings). The reference cache is preferably constructed as a least-recently allocated cache, thereby allowing allocation to occur in a round-robin fashion, with the oldest item allocated being the first item bumped from cache when the cache overflows. Each cache entry stores a reference (e.g., four-byte pointer or handle to a string) and an ordinal entry (i.e. the corresponding database ordinal). As a reference to a particular database column occurs during execution of a program, the reference cache fills with a reference to that column name as well as the corresponding column ordinal. Accordingly, program execution proceeds with comparison of existing items in the cache, using a sequence of rapid, in-line comparisons involving simple data types (e.g., 32-bit references for the column name string). This approach minimizes the need to perform hash lookups or string comparison operations.
In a development system for creating a program which includes programmatic access to columns of database tables, an improved method for determining an ordinal representing an offset within a database table of a column which has been referenced within a program by name, the method comprising:
Dependencies are inferred from the claim text.