我有一个 pojo 包含以下字段
public class tooks 
{
    private String bbb;
    private DateTime ccc;
    private String ddd;
    private boolean eee = true;
    }
现在我有以下 sql ..
    SELECT distinct u.bbb, 'Not Defined' Access_Type, u.ccc, u.ddd 
        FROM IOA_tooks u where u.eee='N' order by u.aaa
现在您可以看到列 Access_Type 是在查询本身中创建的,并且上面的 pojo 中没有属性。请建议如何将此sql转换为hql以及pojo中需要进行哪些更改