product 产品表
ProductCategory 产品分类表
path 是分类的路径select p.id from Product p,(select pc.id id from ProductCategory pc where pc.path like '%8a8a8a983893d371013893dfd029000e%') pt where p.productCategory_id=pt.id;如何用DetachedCriteria 实现
ProductCategory 产品分类表
path 是分类的路径select p.id from Product p,(select pc.id id from ProductCategory pc where pc.path like '%8a8a8a983893d371013893dfd029000e%') pt where p.productCategory_id=pt.id;如何用DetachedCriteria 实现
解决方案 »
- 请教一个关于java rmi远程调用 传递自定义对象的问题
- 求助。。关于hibernate一对一映射
- JSP页面传参问题还没想清楚
- spring和struts、hibernate的集成
- hibernate里的hibernate.cfg.xml中hibernate.jdbc.fetch_size和hibernate.jdbc.batch_size
- struts多模块开发中struts tag的问题
- mysql:数据库名字的格式——不能用横杠 ‘-’ 吗?
- 别的技术
- 大家能否推荐一本"struts"的书籍啊??我是一名初学者.
- 我初学JAVA,在使用ant all命令时,需要build.xml文件,请问该文件是怎么生成的?
- 第一个Struts程序,eclipse环境下总是提示resource is not available
- Struts中jsp中表单input的name赋值与formBean里的私有成员关系
criteria.add(Restrictions.ge("属性", 值));