avatar
文章
2319
标签
36
分类
0
首頁
目录
标签
友鏈
关于
Logo阿超r2dbc 返回首页
搜索
首頁
目录
标签
友鏈
关于

r2dbc

发表于2022-05-16|更新于2026-02-24
|浏览量:

青春是有限的,智慧是无穷的,趁短的青春,去学习无穷的智慧。——高尔基

今天看了点R2DBC,官网:https://r2dbc.io/

Spring-Data-R2dbc:https://spring.io/projects/spring-data-r2dbc

学习文档:https://docs.spring.io/spring-data/r2dbc/docs/current/reference/html/

跑了下demo,感觉还不错:https://gitee.com/VampireAchao/simple-r2dbc.git

image-20220516125946281

java
上一篇
display:contents
多少人以友谊的名义,爱着一个人。——电影《One Day》 MDN:https://developer.mozilla.org/zh-CN/docs/Web/CSS/display-box 首先是一段代码: 12345678910111213141516171819<!DOCTYPE html><head> <title>display</title> <style> .outer { border: 2px solid red; width: 300px; } .outer>div { border: 1px solid green; } </style></head><body> <div class="outer"> <div>I...
下一篇
引入一个boot模块坑
“所有你乐于挥霍的时间都不能算作是浪费。”——约翰·列侬 这个坑蛮棘手的 事发场景:main-boot引入common-boot模块,common-boot模块是一个spring-boot模块 关键GAV构成如下: common-boot 12345678910111213141516171819<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.6.7</version> <relativePath/></parent><groupId>com.ruben</groupId><artifactId>common-boot</artifactId><version>0.0.1-SNAPSHOT</ver...
相关推荐
2021-04-28
不要用魔法值!!!
我来到这个世界为的是看太阳和蔚蓝色的田野。——巴尔蒙特 《阿里Java手册》中第一条编程规约下的第二条常量定义里的第一条 例如这里 我们使用了魔法值 我们改成常量则为 像是字符编码此类都有对应的常量或者枚举等 例如java.nio.charset.StandardCharsets
2020-07-09
关于null的大坑
今天跟前端对接口的时候。。。 有个关键字keyword,前端明明没传入进来,我执行判断的时候,一直进不去那段“如果为空就XXX的逻辑” 123if (StringUtils.isNoneBlank(commonQueryDtoEntity.getKeywords())) { //debug发现进不来} 最后发现代码里我是这样写的 1commonQueryDtoEntity.getKeywords()+"" 这样其实转换出来并不是空串,而是一个”null”字符串。。。 1"null" 希望引以为戒
2021-03-08
nacos服务注册与发现
人生就象弈棋, 一步失误, 全盘皆输,这是令人悲哀之事;而且人生还不如弈棋,不可能再来一局,也不能悔棋。—— 弗洛伊德 下载 找到zip下载解压即可 进入bin目录 12# 单机启动startup.cmd -m standalone 然后我们可以引入java的SDK 使用maven的GAV 12345678910111213141516171819202122232425262728293031<dependencies> <!-- alibaba cloud --> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-alibaba-dependencies</artifactId> <version>2.2.5.RELEASE</version> <typ...
2023-10-10
srs信令java版
会赚钱的人,即使身无分文,也还有自身这个财产。——亚兰 前两天讲到了 srs实现多人聊天室 但是遇到个问题,官方的信令是go语言版的,于是在gpt协助下翻译成java版了 https://gitee.com/VampireAchao/simple-srs-signaling 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071<?xml version="1.0" encoding="UTF-8"?><project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation=&quo...
2023-05-08
为streampark新增用户资源转移功能
凡事一俭,则谋生易足;谋生易足,则求人无争,亦于人无求。——钱泳 相关的pr:https://github.com/apache/incubator-streampark/pull/2734 对应的描述: What changes were proposed in this pull requestIssue Number: close #2712 Brief change log Requirement: The administrator cancels the user deletion function and replaces it with disabling users. Detailed logic: The administrator cancels the user deletion function. When the user account is disabled, it cannot own resources (application and project ownership) Add resource transfer func...
2024-03-28
jackson转范型
不下决心培养思考习惯的人,便失去了生活中的最大乐趣。——爱迪生 代码很简单 1mapper.readValue(json, mapper.constructType(type)) 这里主要是来源com.alibaba.nacos.common.utils.JacksonUtils#toObj(java.lang.String, java.lang.reflect.Type) 主要是这个mapper.constructType(type) 还可以 12TypeFactory typeFactory = mapper.getTypeFactory();JavaType javaType = typeFactory.constructType(MyClass.class);
avatar
阿超
我的名字叫阿超 年龄25岁 家在北京市 职业是软件开发 每天最晚也会在八点前回家 不抽烟 酒浅尝辄止 晚上十二点上床 保证睡足八个小时 睡前写一篇博客 再做二十分钟俯卧撑暖身 然后再睡觉 基本能熟睡到天亮 像婴儿一样不留下任何疲劳和压力 就这样迎来第二天的早晨 健康检查结果也显示我很正常 我想说明我是一个不论何时都追求内心平稳的人 不拘泥于胜负 不纠结于烦恼 不树立使我夜不能寐的敌人 这就是我在这社会的生活态度
文章
2319
标签
36
分类
0
Follow Me
公告
This is my Blog
最新文章
lightweight-charts2026-10-03
effect2026-10-02
servers2026-10-01
cypress2026-09-30
kordoc2026-09-29
© 2025 - 2026 By 阿超框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中