摘要: *1,hibernate查询语句涉及到多表关联时,如果不需要修改同步到数据库中,避免查询出持久对象,可提高效率现在有两条HQL查询语句,分别如下:from Customer c inner join c.orders o group by c.age;(1)select c.ID,c.name,c.... 阅读全文
posted @ 2014-12-17 13:36 野鹤闲人 阅读(87) 评论(0) 推荐(0)