摘要: 1 @Configuration 2 public class ScheduledTaskConfiguration implements SchedulingConfigurer { 3 4 /** 5 6 * instances to be registered against the give 阅读全文
posted @ 2021-12-16 16:35 小小菜包子 阅读(602) 评论(0) 推荐(0)
摘要: delete from schedule_config where Id not in ( select t.min_id from ( select min(Id) as min_id from schedule_config group by db_name ) as t ); 先根据重复的字段 阅读全文
posted @ 2021-11-25 16:20 小小菜包子 阅读(37) 评论(0) 推荐(0)
摘要: 1.首先导入依赖 <dependency> <groupId>com.github.ulisesbocchio</groupId> <artifactId>jasypt-spring-boot-starter</artifactId> <version>2.1.0</version> </depen 阅读全文
posted @ 2021-11-23 15:28 小小菜包子 阅读(178) 评论(1) 推荐(0)
摘要: String sql = "INSERT INTO TABLEName(id int)"; StringBuilder stringBuilder = new StringBuilder(sql); // int index = stringBuilder.indexOf("TABLEName"); 阅读全文
posted @ 2021-11-17 13:50 小小菜包子 阅读(287) 评论(0) 推荐(0)
摘要: Project Object Model,项目对象模型。通过xml可扩展标记语言(EXtensible Markup Language)格式保存的pom.xml文件。作用类似ant的build.xml文件,功能更强大。该文件用于管理:源代码、配置文件、开发者的信息和角色、问题追踪系统、组织信息、项目 阅读全文
posted @ 2021-11-01 15:03 小小菜包子 阅读(2257) 评论(0) 推荐(0)
摘要: -- select * from (select 'asd' as org_name from DWD__IN_REGISTER ) where rownum <=10; -- INSERT INTO TEST_1014 (NAME, AGE) VALUES ('pangjq',22); -- se 阅读全文
posted @ 2021-10-20 17:51 小小菜包子 阅读(25) 评论(0) 推荐(0)
摘要: 1、用户及表空间 --创建用户 create user jiading identified by jiading default tablespace TS_BE3U --授权 grant dba to jiading --删除用户 drop user ppq cascade --表空间扩容 al 阅读全文
posted @ 2021-10-19 20:57 小小菜包子 阅读(211) 评论(0) 推荐(0)
摘要: 问题是引入了 <dependency>--> <!-- <groupId>com.oracle.ojdbc</groupId>--> <!-- <artifactId>ojdbc8</artifactId>--> <!-- </dependency>--> 版本高一些, <dependency> < 阅读全文
posted @ 2021-10-19 20:54 小小菜包子 阅读(1557) 评论(0) 推荐(0)
摘要: springboot 2.X多数据源配置时: Connection marked as broken because of SQLSTATE(08S01), ErrorCode(0); Communications link failure 发现连接池配置问题,于是添加设置 spring.datas 阅读全文
posted @ 2021-09-25 15:28 小小菜包子 阅读(3345) 评论(0) 推荐(0)
摘要: 添加依赖 <!--sftp文件上传--> <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>0.1.54</version> </dependency> 开始写工具类,直接拿去用: im 阅读全文
posted @ 2021-09-23 18:52 小小菜包子 阅读(308) 评论(0) 推荐(0)