qq_28573739
2016-03-18 03:04HQL关联查询问题。。。
有表A和表B,表A的pubid字段和表B的pubid字段关联,
couponpublishEntiy是表A
CouponPoolEntiy 是表B
String hql ="from couponpublishEntiy e CouponPoolEntiy d where d.owner='"+userId+"' and e.pubid in("+ids+")";
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- hibernate 的关联查询hql怎么写
- hibernate
- 0个回答
- hibernate关联对象的列表排序
- struts
- hibernate
- 0个回答
- hibernate 如何自关联
- 自连接
- 自关联
- hibernate
- 0个回答
- Hibernate未使用关联模型的多对象查询
- hibernate
- 0个回答
- Hibernamte多表查询 HQL怎么写
- hibernate
- 0个回答
换一换