会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逆火狂飙I
首页
新随笔
联系
订阅
管理
上一页
1
···
30
31
32
33
34
35
36
37
38
···
205
下一页
2022年3月14日
data migration task setting file
摘要: Draft1: { "from":{ "db":{ "driver":"oracle.jdbc.driver.OracleDriver", "name":"luna", "pswd":"1234", "url":"jdbc:oracle:thin:@127.0.0.1:1521:orcl" }, "
阅读全文
posted @ 2022-03-14 09:27 逆火狂飙
阅读(33)
评论(0)
推荐(0)
2022年3月13日
【JDBC/Oracle】大量数据插表的最快方式:PreparedStatement的batch操作,对oracle表实验后,发现百万数据只用22秒,千万数据只用138秒!
摘要: 【实验硬件环境】 T440p 【数据库环境】 Oracle10g,win版 【目标表】 create table emp3( id number(12), name nvarchar2(20), age number(3), primary key(id)) 【百万程序】 package com.h
阅读全文
posted @ 2022-03-13 22:28 逆火狂飙
阅读(1050)
评论(0)
推荐(0)
pom.xml中的maven.compiler.source和maven.compiler.target作用
摘要: 【形式】 <properties> <maven.compiler.source>8</maven.compiler.source> <maven.compiler.target>8</maven.compiler.target> </properties> 【作用】 pom.xml中的maven.
阅读全文
posted @ 2022-03-13 05:14 逆火狂飙
阅读(28668)
评论(0)
推荐(0)
【Java/字符串处理】SpringUtils提供的重复字符串、固定长度左补右补空格的三函数
摘要: 【SpringUtils的依赖】 <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> 【代码】 package
阅读全文
posted @ 2022-03-13 05:02 逆火狂飙
阅读(585)
评论(0)
推荐(0)
2022年3月12日
【java/text file】将内容写入文本文件,按utf-8存储的函数
摘要: 简单而有效的代码: // 将内容存入文本文件 private static void write2File(String path,String content) throws Exception{ FileOutputStream writerStream = new FileOutputStre
阅读全文
posted @ 2022-03-12 21:58 逆火狂飙
阅读(398)
评论(0)
推荐(0)
【作品】PrettyJson1.00版
摘要: 【功能】 将json整形+美化,内部按字母序排列。 【下载地址】 https://files.cnblogs.com/files/heyang78/JsonPretty_pkg_220314.zip?t=1647227418 【使用方法】 1.安装JDK8或以上版本。2.在控制台窗口输入java -
阅读全文
posted @ 2022-03-12 21:55 逆火狂飙
阅读(118)
评论(1)
推荐(0)
【java/依赖】StringUtils的依赖包
摘要: <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> END
阅读全文
posted @ 2022-03-12 19:10 逆火狂飙
阅读(579)
评论(0)
推荐(0)
2022年3月11日
【java/JdbcTemplate/二进制文件】将雇员表信息写入二进制文件脱敏name字段 及 将二进制文件的雇员信息读取出来批量插进同构的另一张雇员表 及还原脱敏字段的程序
摘要: 【前篇】 https://www.cnblogs.com/heyang78/p/15991030.html 【主要改进点】 用JdbcTemplate取代了原有的JDBC代码,改单条插入为批量插入。 【原表数据及目的表】 create table emp( id number(12), name n
阅读全文
posted @ 2022-03-11 11:58 逆火狂飙
阅读(157)
评论(2)
推荐(0)
【java/依赖】JdbcTemplate的依赖
摘要: <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>5.3.9</version> </dependency> <dependency> <groupId>
阅读全文
posted @ 2022-03-11 11:49 逆火狂飙
阅读(1783)
评论(0)
推荐(0)
【java/依赖】org.springframework.boot.jdbc.DataSourceBuilder的依赖
摘要: <dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> <version>4.0.3</version> </dependency> END
阅读全文
posted @ 2022-03-11 11:48 逆火狂飙
阅读(452)
评论(0)
推荐(0)
上一页
1
···
30
31
32
33
34
35
36
37
38
···
205
下一页