ssh框架下hibernate使用find进行模糊查询

ssh框架下hibernate使用find进行模糊查询

在这里插入图片描述

List<Product> list = this.getHibernateTemplate().find("from Product p where p.pname LIKE ? ", "%"+pname+"%");


猜你喜欢

转载自blog.csdn.net/qq_42583263/article/details/117754100