-
Spring Data JDBC 查询指定字段
需求 Repository默认会查询实体类中的所有字段,但这不是最佳实践。 需求:只查询部分需要的字段。 Projection 官方文档将此定义为Projection映射。 public inter
2024-04-16, Views: 330 , Topics: Spring Boot JDBC
-
Spring Data JDBC 报错 After saving the identifier must not be null
错误信息 java.lang.IllegalArgumentException: After saving the identifier must not be null at org.sp
2024-04-15, Views: 354 , Topics: Spring Boot JDBC