Daryl,
Please have a look at 3.8.14 SQL Queries in JPA spec. It contains a few
examples but I am afraid your intent is not possible as the spec says
"Support for joins is currently limited to single-valued relationships."
at the end of the chapter.
Cheers,
Milosz
> I don't know if everyone m
I don't know if everyone missed this, anyone know?
On Fri, Jun 5, 2009 at 9:42 AM, Daryl Stultz wrote:
>
> I'm not the first to ask this but I didn't find an answer. Is it possible
> for SqlResultSetMapping / NativeQuery to construct an object hierarchy, for
> example to return entities A and B
Hello,
I'm not the first to ask this but I didn't find an answer. Is it possible
for SqlResultSetMapping / NativeQuery to construct an object hierarchy, for
example to return entities A and B where B is a child of A?
A1
B1
B2
A2
B3
B4
...etc.
Thanks.
--
Daryl Stultz
_