concept multiple value in category ejb
appears as: multiple values

This is an excerpt from Manning's book EJB 3 in Action, Second Edition.
A subquery is a query within a query. A subquery may return a single value or multiple values. You’ll learn more about subqueries in section 11.1.4. Let’s review an example of a subquery with an IN operator:
The select method enables you to retrieve data in several different representations depending on your needs. You aren’t limited to only retrieving JPA entities—far from it, in fact. You can retrieve entities, values, and multiple values, and as you saw earlier, you can synthesize new objects from the results of a query. You can also work with tuples, which is an ordered list of values, if you don’t want to go through the trouble of creating a wrapper entity.