摘要 |
A method, system, and computer program product for processing a database query by a proxy server that is adapted to communicate with at least one database server. The database servers are respectively coupled to corresponding databases having tables that include a data isolation field pertaining to a group having subgroups. The data isolation field identifies a subgroup. The proxy server receives the query from an application server. The query is a request for data stored one of the databases. The proxy server determines whether the query has a data isolation problem. If the query does not have a data isolation problem, then the proxy server obtains a response to the query from one of the database servers and forwards the response to the application server. Otherwise, the proxy server records that a query error has occurred and returns an error code and/or empty dataset to the application server.
|