ERROR DefaultDispatcherErrorHandler:42 - Exception occurred during processing request: Position beyo

查询语句 驴唇不对马嘴

本来想通过id查询客户对象,结果写成了


	return this.getHibernateTemplate().find("from Customer", cust_id);	

        return this.getHibernateTemplate().get(Customer.class, cust_id);

猜你喜欢

转载自blog.csdn.net/lxiansheng001/article/details/80560282