Spring-Boot-Jdbc-AutoRowMapper 起因难免会有一些需求需要用到Jdbc, 但是很讨人厌的, 他又要去写 RowMapper , 非常费劲 本着思考, 这TM都 SpringJdbc 了, 他总不会封装了个寂寞吧, 果然, 找到一个名字很奇怪的 RowMapper 实现 BeanPropertyRowMapper描述 /** {@link RowMapper} implementation that converts 2023-01-11 #Spring #SpringBoot #Jdbc
Golang在Windows下交叉编译 问题给树莓派写了点东西, 因为树莓派的CPU是ARM64架构的常规软件编译后跑不了, Java虽然可以装, 但是内存占用有点大 借助一些工具来编译 下载 Gf-Cli 配置 环境 编译参数配置 https://github.com/gogf/gf/releases 下载合适自己系统的 Cli 1gf build main.go -n app -a arm64 -s linux -p . 相关 2023-01-02 #Golang #Windows
Spring-Boot-WebSocket 问题在 SpringBoot WebSocket 中, 我们使用常规注解, @ServerEndpoint 之后会出现无法注入的问题 解决方案 在上面写到我们需要补充 configuration 配置 12345678910public class CdiAwareConfigurator extends ServerEndpointConfig.Configurator { p 2023-01-02 #Spring #WebSocket
Windows(WSL2) 开发环境安装 install wsl1wsl --install set version 21wsl --set-default-version 2 install debian open the microsoft store search debian install install sdkmanbefore install sdkman you need todohttps://www.graalv 2022-12-01 #Windows #wsl