例如我们有如下多表查询
select A.id, A.name, B.name2, C.name2 from A,B,C where A.id=B.bid and B.name3 = C.id
我们用Join连接 JPA tables
// Root rootpath Entity A,B,C in B has relasionship B.name3 = C Join b_path = rootpath.join("id");
Join c_path = b_path.join("name3");