Java java.lang.IllegalArgumentException: The given id must not be null! The problem is solved

Problem Description:

java.lang.IllegalArgumentException: The given id must not be null!

problem analysis:

1. When using JPA's own method of obtaining data based on the primary key ID to pass parameters, null values ​​cannot be passed.

Guess you like

Origin blog.csdn.net/qq_38974638/article/details/115173618