摘要: ①使用组合索引(userName, userAge)②使用组合索引(userAge,userName)1.select * from t_user where userName in ('dd','gg') 在①下会使用索引 在②下不会使用索引 ;2.select * from t_user wh... 阅读全文
posted @ 2016-01-19 13:20 聚散流沙 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-12-24 22:03 聚散流沙 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1.maven引入groovy jar包 org.codehaus.groovy groovy-all 2.1.9 2.调用 package com.test;import java.util.ArrayList;import java.util.List;import groovy... 阅读全文
posted @ 2015-12-16 22:41 聚散流沙 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: Spring 的Resource注入不成功有可能是tomcat版本的问题,tomcat5.5可能不支持javaee的Resource注解,换成tomcat6就OK了 阅读全文
posted @ 2014-04-23 14:00 聚散流沙 阅读(990) 评论(0) 推荐(0) 编辑