错误:
org.hibernate.hql.ast.QuerySyntaxError:意外令牌 org.hibernate.hql.ast.QuerySyntaxError:意外令牌:在第 1 行,第 148 列附近打开 [SELECT op.username,op.email,orders.p_id,orders.o_id, product.listed_price FROM com.model.Orders orders INNER JOIN orders.OrderProcessing as op ON op.u_id = orders.u_id INNER JOIN orders.Product 作为产品 ON product.p_id = orders.p_id WHERE product.p_id = '208' ORDER BY操作用户名]
productList =
(List<Object[]>) session.createQuery("SELECT op.username, op.email, orders.p_id, orders.o_id, product.listed_price " +
"FROM Orders orders " +
"INNER JOIN orders.OrderProcessing as op " +
"ON op.u_id = orders.u_id " +
"INNER JOIN orders.Product as product " +
"ON product.p_id = orders.p_id " +
"WHERE product.p_id = '"+p_id +"' " +
"ORDER BY op.username").list();