实体类如下:
public class xxxxx extends Domain {
private static final long serialVersionUID = 1785331450982369268L;
private StatusEnum status;
当我用root.get路径去取实体类enum字段想做比较的时候,就报错,报错如下:
Unable to locate Attribute with the the given name [status] on this ManagedType