Hibernate Hql详解

1,查询一个表的全部数据java  from Commodity数组 2,加上条件,c是Commodity的别名 session  from Commodity c where c.price<=200 code 3,多个条件之间,and,or  ,为空的条件能够是 name=null,name<>null 排序  from Commodity c where c.price between 10
相关文章
相关标签/搜索