×

Systems and methods for dynamic querying

  • US 7,587,417 B2
  • Filed: 03/30/2006
  • Issued: 09/08/2009
  • Est. Priority Date: 01/18/2002
  • Status: Active Grant
First Claim
Patent Images

1. A system for dynamically generating a query to be executed on a database, comprising:

  • a properties object that contains settings for a query as specified by a user, wherein the properties object is generated at runtime and receives the settings from dynamic user input received at runtime;

    a finder method for initiating the query;

    a descriptor that contains an enable dynamic queries element, wherein the enable dynamic queries element has a value of either true or false for enabling the query, such that invoking queries when the enable dynamic queries element has a value of false results in a remote or local exception being thrown depending on whether the queries submitted after setting the enable dynamic queries element were invoked from a local interface or a remote interface and wherein the dynamic queries element is specifiable by an enable-dynamic-queries parsed character data (PCDATA) tag, wherein said tag signifies that the dynamic queries element contains character data parsed by an extensible markup language (XML) parser;

    a server computer that queries the database, the server computer receiving a call from the finder method and reading the settings from the properties object in order to generate the appropriate SQL query statements to be sent to the database, wherein the SQL query statements are generated by parsing the finder method and wherein options that are set for the SQL query statements are specified in the settings contained in the properties object;

    a database connected to the server computer for executing the dynamically generated SQL query statements; and

    a collection of results that is returned from the database in response to the finder method, said finder method being invoked on a query home interface used to execute dynamic queries, wherein the collection of results is stored on the server computer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×