This content has been marked as final.
Show 5 replies
-
1. Re: Multi level join fetch
nickarls Mar 24, 2008 10:20 PM (in response to norad2)You might want to try the hibernate forums.
-
2. Re: Multi level join fetch
dhinojosa Mar 24, 2008 10:57 PM (in response to norad2)Not only that but seam is a stateful framework, and therefore, if you accept a stateful score for your bean, there is no need for joins.
-
3. Re: Multi level join fetch
gabfav May 28, 2008 11:36 PM (in response to norad2)Can you give me an example please?
-
4. Re: Multi level join fetch
christian.bauer May 29, 2008 12:41 AM (in response to norad2)
Daniel Hinojosa wrote on Mar 24, 2008 22:57:
Not only that but seam is a stateful framework, and therefore, if you accept a stateful score for your bean, there is no need for joins.Daniel, I think you said something along those lines before and I vaguely remember correcting you. Of course a SQL join is just as useful with Seam as it is without Seam. Absolutely no difference.
Original poster: Go to the Hibernate forum.
-
5. Re: Multi level join fetch
infinity2heaven May 29, 2008 1:35 AM (in response to norad2)You have to go from bottom-up in such circumstances. It could be done with a single query. For ex
select o from owner, c from cat, k from kitten where k.cat.id = c.id and c.owner.id=?1
where ?1 would be your owner id