求救关于appfuse (spring+hibernate)多表查询?
三个表userinfo(含username),jobinfo(含jname),userstatus(含自身主键id,uid,jid,)
通过多表连接
select s.id as id, u.uname as uname ,j.jname as jname,s.yptime as yptime,s.status as status
from Userinfo as u ,Userstatus as s ,Jobinfo as j
where u.uid=s.uid and j.jid=s.jid
新建了Javabean名为status,包含所查询字段.在appfuse的src中有dao,dao.hibernate,model,service,service.impl包类
为了分页简单,若用displaytag标签可以显示出来吗?
还有其他的方式吗?
有谁可以提供appfuse多表查询的工程例子吗?