`
wxh512
  • 浏览: 7768 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论
文章列表
第一个 UPDATE stat_ip_20110912 a join ip_list  b on a.ip>=b.startip and a.ip <=b.endip SET a.operator=b.type,a.province=b.province ; 第二个 UPDATE stat_ip_20110912 a,ip_list  b SET a.operator=b.type,a.province=b.province where a.ip>=b.startip and a.ip <=b.endip b表是一个ip的基础表32w数据 a表是一个访问ip表每天 ...
出错代码如下:   com.ibatis.sqlmap.client.SqlMapException: There is no statement named getUser in this SqlMap. at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:293) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapEx ...
在hibernate2.0的处理方法为 下面的代码 在hibernate的配置文件中添加    hibernate.jdbc.batch_size=20 批量处理的方法为   Session session = sessionFactory.openSession();   Transaction tx = session.beginTransaction();   for ( int i=0; i<100000; i++ ) {   Customer customer = new Customer(.....);   session.save(customer);   i ...
Global site tag (gtag.js) - Google Analytics