It is not very familiar with Hibernate, and use this in the company, and ...., the depth is quite high, so .... Oh, look at Reference didn't look carefully, I don't know how Hibernate is unique. (In fact, we think about it, Hibernate does not need alias for columns), we use it in your code ---- also blame, if Hibernate supports alias, our current project is much easier, and the result is reported Wrong: ", Expected in Query {........}" I look at it in the left, hm? HQL is not less ","?
The result was for a long time, and later found a mistake. Hey, it is really important to see the foundation.
In fact, I think hibernate should support alias so that we do not have to take data in order, and you can use the column name to take data, which is still important for the development of the product.