- 博客(7)
- 收藏
- 关注
转载 常用数据库连接描述符
1.Microsoft SQLServer(http://www.microsoft.com) (SqlServer 2000) Class.forName( "com.microsoft.jdbc.sqlserver.SQLServerDriver" ); cn = DriverManager.getConnection( "j...
2017-09-18 19:28:49
726
原创 Oracle数据库并行查询针对多核CPU
t_medflow 表拥有1千万数据 FlowId是主键 拥有主键索引 统计总数量 select count(FLOWID) from t_medflow t 用时:1.5秒 select count(*) from t_medflow t 用时:1.46秒 多次测试效率差不多 添加条件查询 select count(FLOWID) from t_medflow t whe
2017-09-15 21:29:17
2485
原创 Nginx常用集群以及解决TomcatSession问题
upstream local_tomcat { server localhost:8080; //upstream中的server元素必须要注意,不能加http://,但proxy_pass中必须加 server localhost:9999; } server{ location / { proxy_pas
2017-09-13 21:29:32
190
原创 Spring集成WebSerivce服务端
Web.xml所需要配置 MyWebService contextConfigLocation WEB-INF/spring.xml org.springframework.web.context.ContextLoaderListener CXFService
2017-07-17 09:18:21
235
原创 spring 集成 mybatis redis
配置 所需要的数据源,即redis bens xml version="1.0" encoding="UTF-8"?> beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http:
2017-07-13 20:07:31
204
原创 srping-集成mybatis
maven依赖 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/mav
2017-06-23 11:42:49
135
原创 Spring-boot入门
Spring-boot入门 配置spring-boot的资源文件命名为application.properties 启动一个简单的服务器 package cn.et; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.Sprin
2017-06-23 11:31:30
131
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人