摘要:
http://sourceforge.net/projects/springframework/files/springframework-2/ 阅读全文
摘要:
http://www.jboss.org/projects 阅读全文
摘要:
http://bl.ocks.org/mbostock/4062045 阅读全文
摘要:
批量插入(Batch inserts)如果要将很多对象持久化,你必须通过经常的调用 flush()以及稍后调用 clear()来控制第一级缓存的大小。Session session = sessionFactory.openSession();Transaction tx = session.beginTransaction();for ( int i=0; i<100000; i++ ) { Customer customer = new Customer(.....); session.save(customer); if ( i % 20 == 0 ) { //20, same a 阅读全文
摘要:
public class AuditLogListener implements PostInsertEventListener, PostUpdateEventListener, PostDeleteEventListener { /** 审计日志服务类 */ // 此处不能使用 @Autowired private AuditLogService auditLogService /*** 此处省去n行**/} 阅读全文