切记!!!!! 没有比官网教程更详细,更靠谱的教程!!!!! 其他的基本都是官网的翻译,但是官网的教程是实时更新的,要是不注意版本,坑根本就踩不
Spring依赖注入方式 直接修饰成员变量,也就是提醒不推荐的情况 @RestController public class TestController{ @Autowired private TestService testService; } 修饰构造函数,@Autowired可省略 @RestController public class TestController{ private TestService testService; public TestController(TestService
首先确保安装SSH server: sudo apt-get install openssh-server 启动SSH server: sudo service ssh start #检查ssh是否正常启动 ssh localhost 安装后,可以使用如下命令登陆本机: ssh localhost 此时会有SSH
String 二进制安全的String,意味着String可以是任何内容,包括一个文件的二进制编码。 Key值作为String类型,最大长度是512MB。
在id上加注解@TableId(type = IdType.INPUT),代表非自增id,需要手动指定 @Data @NoArgsConstructor @AllArgsConstructor public class User extends Model<AccountTransaction> { /** * id */ @TableId(type = IdType.INPUT) private Long id; /** *
redis.conf
# Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note on units: when memory size is needed, it is possible to specify # it in the usual form of 1k 5GB 4M and so forth: # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g => 1000000000 bytes # 1gb => 1024*1024*1024 bytes # # units are case insensitive so 1GB 1Gb 1gB are all the same.
完整异常 [42611][-604] The length, precision, or scale attribute for column, distinct type, structured type, array type, attribute of structured type, routine, cast target type, type mapping, or global variable "decimal(38, 2)" is not valid.. SQLCODE=-604, SQLSTATE=42611, DRIVER=4.26.14 [56098][-727] An error occurred during implicit system action type "2". Information returned for the error includes SQLCODE "-604", SQLSTATE "42611" and message tokens "decimal(38, 2)".. SQLCODE=-727, SQLSTATE=56098, DRIVER=4.26.14 报错