Hibernate教程从入门到精通第四篇(共四篇).pptVIP

  • 2
  • 0
  • 约3.91千字
  • 约 26页
  • 2018-12-15 发布于广东
  • 举报

Hibernate教程从入门到精通第四篇(共四篇).ppt

Hibernate教程从入门到精通第四篇(共四篇)

使用Criteria查询 测试程序和运行效果 生成的SQL语句: Hibernate: select this_.fwid as fwid1_0_, this_.uid as uid1_0_, this_.jdid as jdid1_0_, this_.lxid as lxid1_0_, this_.shi as shi1_0_, this_.ting as ting1_0_, this_.fwxx as fwxx1_0_, this_.zj as zj1_0_, this_.title as title1_0_, this_.date as date1_0_, this_.telephone as telephone1_0_, this_.lxr as lxr1_0_ from TBL_FWXX this_ where this_.title like ? and this_.zj=? and this_.zj=? and this_.lxid in (?, ?) order by this_.fwid asc 总结 HQL的全称是? 和SQL相比,HQL有哪些特点? HQL语句为:select jd.jdid,jd.jd from TblJd jd。怎样获得并显示查询结果? 使用?做占位符的参数查询,怎样设置参数的值? 命名参数查询的语法是? 怎样创建Criteria查询对象?

文档评论(0)

1亿VIP精品文档

相关文档