小编Lee*_*een的帖子

如何解决此错误?您需要调用 ParameterRegistration#enablePassingNulls(true) 才能传递空参数

在 Spring Boot 应用程序中。尝试使用休眠存储过程插入数据库时​​出现此错误。DB 表允许空值,存储过程参数允许空值,但在我的 RESTful API 端仍然出现此错误。

已解决 [java.lang.IllegalArgumentException: 名为 [date added] 的参数为空。您需要调用 ParameterRegistration#enablePassingNulls(true) 才能传递空参数。]

java hibernate spring-boot

6
推荐指数
0
解决办法
4575
查看次数

标签 统计

hibernate ×1

java ×1

spring-boot ×1