摘要:
同时对三张表进行插入操作,事务保证完整性。下面进行简单测试:1. 锁定表锁定用户表LOCK TABLES user WRITE;查看表是否锁定:show OPEN TABLES where In_use > 0;显示被锁定的表。2. 验证在同一session下是否可以插入操作insert into ...
阅读全文
posted @ 2015-10-15 15:59
一天不进步,就是退步
阅读(959)
推荐(0)
摘要:
import java.awt.image.BufferedImage;import java.io.ByteArrayOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputS...
阅读全文
posted @ 2015-10-14 13:15
一天不进步,就是退步
阅读(2142)
推荐(0)
摘要:
原文地址:http://www.walkswithme.net/writing-images-to-the-excel-sheet-using-phpexcelWriting images to the excel sheet using phpexcel class is a great feat...
阅读全文
posted @ 2015-10-14 13:06
一天不进步,就是退步
阅读(353)
推荐(0)
摘要:
原文地址:http://www.mkyong.com/spring-mvc/spring-mvc-handler-interceptors-example/Spring MVC allow you to intercept web request through handler intercepto...
阅读全文
posted @ 2015-10-14 12:55
一天不进步,就是退步
阅读(562)
推荐(0)
摘要:
1. 设置secureCRT编码格式:2. file filename查看文件格式:file catalina.outcatalina.out: UTF-8 Unicode English text, with very long lines
阅读全文
posted @ 2015-10-14 11:49
一天不进步,就是退步
阅读(756)
推荐(0)
摘要:
原文地址:http://wiki.apache.org/solr/SolrPerformanceFactorsContentsSchema Design Considerationsindexed fieldsStored fieldsConfiguration Considerationsmerg...
阅读全文
posted @ 2015-10-10 13:36
一天不进步,就是退步
阅读(400)
推荐(0)
摘要:
原文地址:http://lavasoft.blog.51cto.com/62575/1386870Mybatis like查询官方文档没有明确的例子可循,网上搜索了很多,都不正确。Mybatis 3.2.6经过尝试,给出三种可靠可用的写法:select * from person where nam...
阅读全文
posted @ 2015-10-09 18:17
一天不进步,就是退步
阅读(538)
推荐(0)
摘要:
原文地址:http://h3x.no/2011/05/10/guide-solr-performance-tuningIntroductionI have for the last year been working a lot with the Solr search engine, and fi...
阅读全文
posted @ 2015-10-09 16:08
一天不进步,就是退步
阅读(489)
推荐(0)
摘要:
配置可以读取属性: 也可以通过编程的形式获取文件属性:Resource resource = new ClassPathResource("/my.properties");Prop...
阅读全文
posted @ 2015-10-08 18:34
一天不进步,就是退步
阅读(326)
推荐(0)
摘要:
原文地址:http://zhangyongbo.iteye.com/blog/1749439import java.io.BufferedOutputStream;import java.io.File;import java.io.FileOutputStream;import java.io.I...
阅读全文
posted @ 2015-09-26 20:03
一天不进步,就是退步
阅读(1065)
推荐(0)