Claims
- 1. A system for allowing a client to execute a query against a database, comprising:
a persistence manager adapted to receive a query request from a client and generate SQL for the query, the persistence manager further adapted to execute the SQL on a database and receive a result set from the database, the persistence manager populating a set of EJBs with one of the result set and a subset of the result set; and a bean manager adapted to provide the client with access to one of the set of EJBs or a subset of the set of EJBs, the bean manager capable of storing the set of EJBs or a subset of the set in local cache.
- 2. A system according to claim 1, further comprising a home interface adapted to receive the query request from the client and contact the bean manager.
- 3. A system according to claim 2, wherein said home interface can execute a security check before contacting the bean manager.
- 4. A system according to claim 1, wherein said persistence manager is adapted to populate the set of EJBs with a subset of the result set for each of a number of iterations through the result set.
- 5. A system according to claim 1, further comprising a finder method for execution by the client, the finder method generating the query request.
- 6. A system according to claim 1, wherein said bean manager is adapted to provide the client with access to a subset of the set of EJBs at any given time.
- 7. A system according to claim 1, wherein said bean manager provides the client with a list of EJBs in local cache, said bean manager allowing the client to select EJBs from the list to which the user wants access.
- 8. A method for allowing a client to execute a queries against a database, comprising:
executing a finder method to generate a query to be executed against a database; generating the SQL for the query and executing the query against the database; receiving a set of results from the database corresponding to the query and populating a set of EJBs with the results; and sending the client a list specifying the results in the set of results and allowing the client to select results from the list.
- 9. A method according to claim 8, further comprising:
storing the set of EJBs in local cache.
- 10. A method according to claim 8, further comprising:
closing the set of results when the client has completed viewing the results.
- 11. A method according to claim 8, further comprising:
executing a security check before generating the SQL.
- 12. A method for allowing a client to execute queries against a database, comprising:
executing a finder method to generate a query to be executed against a database; generating the SQL for the query and executing the query against the database; receiving a set of results from the database corresponding to the query, selecting a subset of the set of results, and populating a set of EJBs with the subset of results; allowing the client to access the set of EJBs.
- 13. A method according to claim 12, further comprising:
selecting a new subset of results and populating a new set of EJBs with the new subset of results.
- 14. A method according to claim 12, further comprising:
storing the set of EJBs in local cache.
- 15. A method for allowing a client to execute queries against a database, comprising:
executing a finder method to generate a query to be executed against a database; generating the SQL for the query and executing the query against the database; receiving a set of results from the database corresponding to the query and populating a set of EJBs with the subset of results; allowing the client to access a subset of the EJBs.
- 16. A method according to claim 15, further comprising:
allowing the client to access another subset of the EJBs.
- 17. A method according to claim 15, further comprising:
storing the set of EJBs in local cache.
- 18. A computer-readable medium, comprising:
means for executing a finder method to generate a query to be executed against a database; means for generating the SQL for the query and executing the query against the database; means for receiving a set of results from the database corresponding to the query and populating a set of EJBs with the subset of results; means for allowing the client to access a subset of the EJBs.
- 19. A computer program product for execution by a server computer for allowing a client to execute queries against a database, comprising:
computer code for executing a finder method to generate a query to be executed against a database; computer code for generating the SQL for the query and executing the query against the database; computer code for receiving a set of results from the database corresponding to the query and populating a set of EJBs with the subset of results; computer code for allowing the client to access a subset of the EJBs.
- 25. A system for allowing a client to execute queries against a database, comprising:
means for executing a finder method to generate a query to be executed against a database; means for generating the SQL for the query and executing the query against the database; means for receiving a set of results from the database corresponding to the query and populating a set of EJBs with the subset of results; means for allowing the client to access a subset of the EJBs.
- 26. A computer system comprising:
a processor; object code executed by said processor, said object code configured to:
execute a finder method to generate a query to be executed against a database; generate the SQL for the query and executing the query against the database; receive a set of results from the database corresponding to the query and populating a set of EJBs with the subset of results; allow the client to access a subset of the EJBs.
- 27. A computer data signal embodied in a transmission medium, comprising:
a code segment including instructions to execute a finder method to generate a query to be executed against a database; a code segment including instructions to generate the SQL for the query and executing the query against the database; a code segment including instructions to receive a set of results from the database corresponding to the query and populating a set of EJBs with the subset of results; a code segment including instructions to allow the client to access a subset of the EJBs.
CLAIM OF PRIORITY
[0001] This application claims priority to U.S. Provisional Patent Application No. 60/358,655, filed Feb. 21, 2002, entitled “SYSTEM AND METHOD FOR CURSORED COLLECTIONS,” which is hereby incorporated herein by reference.
[0002] The following applications are cross-referenced and incorporated herein by reference: U.S. Provisional Application No. 60/349,432 entitled “System and Method for Dynamic Queries,” by Matthew Shinn et al., filed Jan. 18, 2002.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60358655 |
Feb 2002 |
US |