码迷,mamicode.com
首页 >  
搜索关键字:log4j druid    ( 4066个结果
4.Spark读取mysql
import org.apache.log4j.{Level, Logger}import org.apache.spark.sql.SparkSessionobject SparkSql { def main(args: Array[String]): Unit ={ Logger.getLogg ...
分类:数据库   时间:2019-12-02 13:30:16    阅读次数:107
Stream系列(八)Reduce方法使用
裁减计算 视频讲解: https://www.bilibili.com/video/av77715582/ EmployeeTest.java package com.example.demo; import lombok.extern.log4j.Log4j2; import org.junit. ...
分类:其他好文   时间:2019-12-01 20:39:44    阅读次数:177
Spring 学习指南 第三章 bean的配置 (未完结)
第三章 bean 的配置 ? 在本章中,我们将介绍以下内容: 1. bean 定义的继承: 2. 如何解决 bean 类的构造函数的参数: 3. 如何配置原始类型 (如 int 、float 等) 、集合类型(如 java.util.List、java.util.Map)等以及自定义类型 (如 Ad ...
分类:编程语言   时间:2019-12-01 09:28:57    阅读次数:98
分布式实现登录
导入依赖 将所有的依赖都导入到父工程当中,供所有的子工程使用; <dependencies> <!-- https://mvnrepository.com/artifact/org.springframework/spring-beans --> <dependency> <groupId>org. ...
分类:其他好文   时间:2019-12-01 09:21:32    阅读次数:85
SpringBoot整合Druid数据源详细文档
1.数据库结构 2.项目结构 3.pom.xml文件 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> < ...
分类:编程语言   时间:2019-12-01 09:17:14    阅读次数:98
springboot2.1.7整合Druid
一、maven的依赖;文中就贴重点的, 其他依赖就不贴了 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.17</version> </dependency> 二、yml的 ...
分类:编程语言   时间:2019-12-01 00:34:49    阅读次数:235
Oracle报错ORA-12516 TNS:listener could not find available handler with matching protocol stack
ORA-12519: TNS:no appropriate service handler found 当使用阿里的Druid连接池时报的这个错,也是同样的原因 重启应用时报错,错误信息如题, ORA-12516:TNS:监听程序找不到符合协议堆栈要求的可用处理程 ,然后项目启动失败,使用可视化工具 ...
分类:数据库   时间:2019-11-28 13:36:58    阅读次数:241
springboot整合mybatis
1、springboot配置数据库连接池druid 2、springboot整合mybatis 3、springboot整合pagehelper springboot配置数据库连接池druid 新建springboot项目 相关pom依赖 druid所需pom依赖 <dependency> <gro ...
分类:编程语言   时间:2019-11-28 01:00:56    阅读次数:93
com.alibaba.druid.pool.DruidPooledConnection cannot be cast to oracle.jdbc.OracleConnection 异常解决办法
失败原因: The connection pool usually has a wrapper around the real connection instance, that's why your cast fails. 连接池通常包装了一个真实的真实的Connection实例。 解决方案: ...
分类:数据库   时间:2019-11-27 10:38:12    阅读次数:194
Stream系列(二)Map方法使用
Stream 将List 里面的对象转换为新的对象 EmployeeTestCase.java package com.example.demo; import lombok.Data; import lombok.ToString; import lombok.extern.log4j.Log4j ...
分类:其他好文   时间:2019-11-25 11:52:50    阅读次数:405
4066条   上一页 1 ... 41 42 43 44 45 ... 407 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!