1. A computer-implemented method, for automating the process of querying a relational database using at least one of an object and a relational persistent query service on a processor, the method comprising: receiving a request from a user for information from the relational database; translating the received request to at least one of an object and a relational persistent query; determining if a class associated with a table name already exists in a directory, wherein upon determining the class associated with the table name does not already exist in a directory comprises: performing a pre-fetch for one or more table columns on the relational database; and creating classes and other related files for the query using the table names and the table columns; parsing the query to determine one or more of table names, attributes and attribute types; generating at least one set of related files, based on the parsing of the query; updating at least one object and relational persistent configuration file to accept the newly generated at least one set of related files for use by at least one of the object and the relational persistent query service; and executing at least one of the object and the relational persistent query service based on the at least one of the object and the relational persistent query, wherein the at least one of the object and the relational persistent query service is programmed to: receive the translated query; retrieve at least one result stored in at least one of an object cache and the relational database based on at least one of the translated query and the generated at least one set of related files; and transmit the results to the user.