QuerySyntaxException: unexpected token: user_id near line 1, column 29 [from model.Demand d where d user_id=? order by d.id desc]
查询语法错
user_id在Demand的User中 正确的写法from Demand d where d.user.id=? order by d.id desc
QuerySyntaxException: unexpected token: user_id near line 1, column 29 [from model.Demand d where d user_id=? order by d.id desc]
查询语法错
user_id在Demand的User中 正确的写法from Demand d where d.user.id=? order by d.id desc