hibernate Using non-qualified column reference

http://www.iteye.com/topic/184254

 

 

 

hibernate Using non-qualified column reference

 

 

 

在使用HQL的地方使用了SQL语句

 

如:            String hql = "from Feed f";

                  //根据查询语句,生成Query对象

                  Query lQuery = session.createQuery(hql);
   

写成了        String hql = "select f from Feed f";

你可能感兴趣的:(sql,Hibernate,F#)