We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jpa getAccountById 在更高版本中 findOne(id) 不对, 替换为 findById(id).get();
The text was updated successfully, but these errors were encountered:
由于springboot的版本更新(我的2.2.4),这个地方可以改为如下参考: @RequestMapping(value = "/find", method = RequestMethod.PUT) public Optional getAccountById(@RequestParam(value = "id", required = true) int id) { return accountJpaDao.findById(id); }
Sorry, something went wrong.
No branches or pull requests
jpa getAccountById 在更高版本中 findOne(id) 不对, 替换为 findById(id).get();
The text was updated successfully, but these errors were encountered: