2015年11月14日

CallableStatement 调用存储过程

摘要: 阅读全文

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

hibernate执行存储过程

摘要: 阅读全文

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

二级缓存配置

摘要: 阅读全文

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

命名sql和本地sql

摘要: 阅读全文

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

Projections.groupProperty

摘要: 阅读全文

posted @ 2015-11-14 16:24 kebizhanmushi 阅读(384) 评论(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 阅读(237) 评论(0) 推荐(0)

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

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

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

导航