我有下面的 HQL 为你下面的 sql ..
SQL ....
SELECT * FROM POS_took WHERE DELETEDDATE IS NOT NULL
它对应的HQL是......
session.createQuery("from postook where deleted is not null")
而java实体类是......
class postook
{
//all the properties defined here
private DateTime deleted;
//and it corresponding setters and getters is defined.
现在请告知上述 HQL 的等效标准表示