posted 13 years ago
I got this scenario:
a query from wich i need to return a list of beans, that i don't want persisted.
The question is:
Can i do that directly speifying the bean like:
w/o having to map the Person to a table?
Closest answer for that from what i found is the one below, but i need to know the answer to the above question, it makes the following solution redundant.
EDIT: shortest question would be: how can i externalize a named query w/o an entity, and also map the result set to a bean with the least configuring possible.