摘要: 从物理存储角度 1、聚集索引(clustered index) 2、非聚集索引(non-clustered index) 从逻辑角度 1、主键索引:主键索引是一种特殊的唯一索引,不允许有空值 2、普通索引或者单列索引 3、多列索引(复合索引):复合索引指多个字段上创建的索引,只有在查询条件中使用了创 阅读全文
posted @ 2017-03-17 11:56 markchuan 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 第一种:通过注解@PostConstruct 和 @PreDestroy 方法 实现初始化和销毁bean之前进行的操作 [java] view plain copy import javax.annotation.PostConstruct; import javax.annotation.PreD 阅读全文
posted @ 2017-03-17 11:48 markchuan 阅读(2064) 评论(0) 推荐(0) 编辑