
后台
文章平均质量分 67
hongtao_fan
这个作者很懒,什么都没留下…
展开
-
jdbc连接数据库的优化和防止注入
package dao;import java.sql.Connection;import java.sql.DriverManager;import java.sql.PreparedStatement;import java.sql.SQLException;import java.sql.Statement;import org.junit.Test;原创 2017-02-22 11:01:59 · 1139 阅读 · 0 评论 -
Spring+SpringMVC+SpingDataJPA(基于Hibernate)框架搭建
本文会教大家讲解如何搭建Spring+Spring Data JPA+SpingMVC项目环境原创 2017-09-05 10:47:57 · 7387 阅读 · 0 评论 -
MySQL explain执行计划解读,索引的建立
本文我们主要介绍了MySQL性能分析以及explain的使用,包括:组合索引、慢查询分析、MYISAM和INNODB的锁定、MYSQL的事务配置项等,希望能够对您有所帮助。1.使用explain语句去查看分析结果 如explain select * from test1 where id=1;会出现:id selecttype table type possible_keys key转载 2017-12-14 14:15:33 · 705 阅读 · 0 评论