1. A method for accessing requested data in a database using beans, comprising the steps of: invoking a single bean select method of a bean query language with a query for requested data from a database, wherein the requested data includes data from multiple fields of the database corresponding to multiple bean types; translating the bean select method of the bean query language into a database language query and forwarding the query to the database in a database language; processing the query at the database to retrieve the requested data, including data from multiple fields of the database corresponding to multiple bean types; creating a single result set object in the bean query language and storing the requested data from multiple fields of the database corresponding to multiple bean types into the single result set object, wherein storing the data bypasses the steps of creating separate bean instances for the requested data and invoking individual get methods to retrieve multiple data fields, and wherein the result set object retains the relationships between the data corresponding to the original database schema; and providing access to the requested data in the result set object, wherein the result set object contains data from multiple fields of the database corresponding to multiple bean types.
1. A method for accessing requested data in a database using beans, comprising the steps of: invoking a single bean select method of a bean query language with a query for requested data from a database, wherein the requested data includes data from multiple fields of the database corresponding to multiple bean types; translating the bean select method of the bean query language into a database language query and forwarding the query to the database in a database language; processing the query at the database to retrieve the requested data, including data from multiple fields of the database corresponding to multiple bean types; creating a single result set object in the bean query language and storing the requested data from multiple fields of the database corresponding to multiple bean types into the single result set object, wherein storing the data bypasses the steps of creating separate bean instances for the requested data and invoking individual get methods to retrieve multiple data fields, and wherein the result set object retains the relationships between the data corresponding to the original database schema; and providing access to the requested data in the result set object, wherein the result set object contains data from multiple fields of the database corresponding to multiple bean types. 3. The method of claim 1 , wherein the beans are enterprise java beans.