Claims
- 1. A method for accessing data using enterprise Java beans, comprising the steps of:
(a) receiving a select method to access data in a persistent store; (b) retrieving data from said persistent store; (c) saving said data as a result set object containing the retrieved data in response to the query; and, (d) allowing access to said result set object to retrieve said data.
- 2. The method of claim 1 wherein said select method is an ejbSelect method.
- 3. The method of claim 1 wherein said select method is expressed as bean objects.
- 4. The method of claim 1 wherein said select method is expressed as a bean object name.
- 5. The method of claim 1 wherein said select method is expressed in terms of the data to be returned.
- 6. The method of claim 1 wherein said result set is comprised of multiple data types from multiple bean objects.
- 7. The method of claim 1 wherein said result set is comprised of multiple data types from a single bean object.
- 8. The method of claim 1 wherein said result set is comprised of a single data type from multiple bean objects.
- 9. The method of claim 1 wherein said persistent store is a database.
- 10. The method of claim 1 wherein said access is read-only.
- 11. The method of claim 1 wherein said step of retrieving data from the persistent store allows direct access, including bypassing a bean representation of the requested data.
- 12. A method of providing access to a database using enterprise java beans comprising the steps of:
reading an EJBQL querywhich specifies the return of multiple fields from multiple bean types; creating a bean instance at run-time in accordance with these specifications; calling the ejbSelect mechanism to retrieve the multiple field data; and, returning the data as a single result set for subsequent access.
- 13. The method of claim 12 wherein said select method is an ejbSelect method.
- 14. The method of claim 12 wherein said select method is expressed as bean objects.
- 15. The method of claim 12 wherein said select method is expressed as a bean object name.
- 16. The method of claim 12 wherein said select method is expressed in terms of the data to be returned.
- 17. The method of claim 12 wherein said result set is comprised of multiple data types from multiple bean objects.
- 18. The method of claim 12 wherein said result set is comprised of multiple data types from a single bean object.
- 19. The method of claim 12 wherein said result set is comprised of a single data type from multiple bean objects.
- 20. The method of claim 12 wherein said persistent store is a database.
- 21. The method of claim 12 wherein said access is read-only.
- 22. The method of claim 12 wherein said step of retrieving data from the persistent store allows direct access, including bypassing a bean representation of the requested data.
- 23. A system for accessing data using enterprise Java beans, including instructions therein which when read and executed cause the system to perform the steps of:
receiving a select method to access data in a persistent store; retrieving data from said persistent store; saving said data as a result set object containing the retrieved data in response to the query; and, allowing access to said result set object to retrieve said data.
- 24. A system for providing access to a database using enterprise java beans, including instructions therein which when read and executed cause the system to perform the steps of:
reading an EJBQL query which specifies the return of multiple fields from multiple bean types; creating a bean instance at run-time in accordance with these specifications; calling the ejbSelect mechanism to retrieve the multiple field data; and, returning the data as a single result set for subsequent access.
CLAIM OF PRIORITY
[0001] This application claims priority from provisional application “SYSTEM AND METHOD FOR PROVIDING RESULT SETS USING EJB QUERY LANGUAGE” Application Ser. No. 60/349,606 filed Jan. 18, 2002, and which application is incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60349606 |
Jan 2002 |
US |