System and method for providing result sets using EJB query language
AssigneeBEA Systems, Inc.
InventorsThorick Chow, Seth White
Life of this patent
Estimating the term…
Abstract
The invention provides a set of enhancements to the EJB Query Language (“EJB QL”) for providing ResultSets using EJB QL and to efficiently access databases using ejbSelect methods within Enterprise Java Beans. Particularly, these EJBQL language extensions allow for the selection and retrieval of ResultSets. Since the use of the invention is expressed in terms of object relational constructs defined in an EJB deployment, it allows for the efficient retrieval of data from a Database expressed in terms of the relationships defined in that EJB deployment.
Claims24
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.
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.
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.
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.
Dependencies are inferred from the claim text.