hibernate invalid path:

因为hql写错了

FROM person r WHERE r.validFlag=1 AND t.name =?

因为没有t这个别名.

猜你喜欢

转载自letmedown.iteye.com/blog/2115458