欢迎来到Vincentyw的博客

该来的终究会来,该走的也一定会离开。凡事都存在前因后果,因缘成熟了,果报便产生了,无法阻挡。
但是发生过了就会消失,有来就有走,一切都是过客,把握自己当下的因缘,承担起自己该承担的责任,做好眼前该做的事情,做的时候尽全力,过去便放下,放下即自在。

2024年1月4日

Oracle两张之间修改数据

摘要: Oracle两表数据修改 1.连表修改 UPDATE table1 SET column1 = ( SELECT column2 FROM table2 WHERE table1.id = table2.id ); 阅读全文

posted @ 2024-01-04 17:20 VincentYew 阅读(17) 评论(0) 推荐(0) 编辑

2024年1月2日

Oracle+mybatis实现批量插入

摘要: Oracle+mybatis实现批量插入 1.采用union all <insert id="insertByBatch"parameterType="java.util.List"> insert into table( name, user_id, age ) <foreach collecti 阅读全文

posted @ 2024-01-02 21:35 VincentYew 阅读(6) 评论(0) 推荐(0) 编辑

2023年9月17日

数据库初始化

摘要: 数据库初始化 1-配置用户 1.1创建组 groupadd yw 1.2创建用户 useradd -d /home/yw -g yw yw 1.3修改用户密码 passwd yw 1.4查看是否存在 cat /etc/passwd |grep yw 2-数据库初始化 2.1登录Oracle服务器,切 阅读全文

posted @ 2023-09-17 14:43 VincentYew 阅读(28) 评论(0) 推荐(0) 编辑

2023年8月30日

数据库知识库

摘要: Oracle数据库知识库 查看是否有表被锁住:select * from v$locked_object; 查看详细的信息: select sess.sid, sess.serial#, lo.oracle_username, lo.os_user_name, ao.object_name, lo. 阅读全文

posted @ 2023-08-30 23:12 VincentYew 阅读(10) 评论(0) 推荐(0) 编辑

2023年8月14日

Shardingsphere分库分表技术应用(一)

摘要: Shardingsphere分库分表技术应用(一) 1、开源的分布式数据库生态技术 ShardingShpere-JDBC 轻量级Java框架 ShardingShpere-Proxy 数据库代理 ShardingShpere-sidecar(规划中) -kubernates的云原生数据库代理 2、 阅读全文

posted @ 2023-08-14 08:36 VincentYew 阅读(19) 评论(0) 推荐(0) 编辑

2023年8月7日

工具方法运用(一)

摘要: 工具方法运用(一) 1、Java Collection集合的三种遍历方式 迭代器 foreach/增强for循环 lambda表达式 Collection<String> collection = new ArrayList<>(); collection.add("aaaa"); collecti 阅读全文

posted @ 2023-08-07 22:05 VincentYew 阅读(2) 评论(0) 推荐(0) 编辑

获取微信签名方法调用

摘要: 微信签名生成 1、微信签名生成 参照微信支付文档中心:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_0.shtml import java.io.BufferedInputStream; import ja 阅读全文

posted @ 2023-08-07 21:58 VincentYew 阅读(136) 评论(0) 推荐(0) 编辑

openfeign应用汇总(三)

摘要: openfeign应用汇总(三) 1、自定义统一处理正确返回结果(实现Decoder) import java.io.IOException; import java.lang.reflect.Type; import org.slf4j.Logger; import org.slf4j.Logge 阅读全文

posted @ 2023-08-07 21:50 VincentYew 阅读(22) 评论(0) 推荐(0) 编辑

openfeign应用汇总(二)

摘要: openfeign应用汇总(二) 1、开启feign日志 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import f 阅读全文

posted @ 2023-08-07 21:36 VincentYew 阅读(27) 评论(0) 推荐(0) 编辑

openfeign应用汇总

摘要: openfeign应用汇总(一) 1、springcloud接收JSON以及XML报文数据 import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.j 阅读全文

posted @ 2023-08-07 19:46 VincentYew 阅读(19) 评论(0) 推荐(0) 编辑

导航