Friday, February 12, 2010

Programmer - Hibernate Criteria and multiple join

is possible with Hibernate criteria do it?



select A.something, B.something, C.something, D.something
from A JOIN B on A.id = B.id_fk
JOIN C ON B.id = C.id_fk
JOIN D ON C.id = D.id_fk;

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails