2015年11月14日

CallableStatement 调用存储过程

摘要: 阅读全文

posted @ 2015-11-14 21:33 kebizhanmushi 阅读(156) 评论(0) 推荐(0) 编辑

hibernate执行存储过程

摘要: 阅读全文

posted @ 2015-11-14 21:10 kebizhanmushi 阅读(95) 评论(0) 推荐(0) 编辑

二级缓存配置

摘要: 阅读全文

posted @ 2015-11-14 20:46 kebizhanmushi 阅读(113) 评论(0) 推荐(0) 编辑

命名sql和本地sql

摘要: 阅读全文

posted @ 2015-11-14 16:38 kebizhanmushi 阅读(127) 评论(0) 推荐(0) 编辑

Projections.groupProperty

摘要: 阅读全文

posted @ 2015-11-14 16:24 kebizhanmushi 阅读(374) 评论(0) 推荐(0) 编辑

org.hibernate.criterion.Example;

摘要: 程序代码Cat cat=newCat();cat.setSex('F');cat.setColor(Color.BLACK);List results=session.createCriteria(Cat.class).add(Example.create(cat)).list();Example.... 阅读全文

posted @ 2015-11-14 16:23 kebizhanmushi 阅读(230) 评论(0) 推荐(0) 编辑

查询id》5000,标题有java的书

摘要: D、 setProperties()方法:(setEntity()) 在Hibernate中可以使用setProperties()方法,将命名参数与一个对象的属性值绑定在一起,如下程序代码: Customer customer=new Customer(); customer.setName(... 阅读全文

posted @ 2015-11-14 16:10 kebizhanmushi 阅读(131) 评论(0) 推荐(0) 编辑

导航