Patent ID: 8868588

Claim:
A method for performing queries in a business intelligence server environment, said method comprising: receiving, at a business intelligence (BI) server, a Structured Query Language (SQL) query that accesses data from a plurality of objects in an application server; determining, via the BI server, that a SQL bypass is to be performed, and performing the additional steps of: transmitting an extensible markup language (XML) representation of the SQL query to the application server, wherein the application server operates to construct a composite view object from the plurality of objects, and generate a database-specific query based on the composite view object, and return the database-specific query to the BI server, receiving the database-specific query from the application server, re-planning the database-specific query wherein the re-planned query causes the BI server to invoke one or more functionalities which further cause one or more computations to be performed at a database instead of at the BI server, and executing the re-planned database-specific query directly against the database.