-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
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
Add setReturnGeneratedKeys to PreparedStatementCreatorFactory #32
base: main
Are you sure you want to change the base?
Conversation
…TacoRepository.saveTacoInfo
Per my comment in #25, I'm hesitant to merge this until I know why it works for me without this change, but doesn't for you. If there's any further info you can provide to help sort it out, please let me know. I'm not saying that this is a bad PR or that I'm not going to merge it. I just want to better understand the situation before I do. (If it were broken for me, then I'd not hesitate to merge it. The fact that it works for me without this change has me scratching my head.) |
Hi habuma, If I use the original code, I got this null pointer exception. If I use the PR, it's fine. Whitelabel Error Page Sat Mar 16 23:44:04 EDT 2019 |
Due to #25
added setReturnGeneratedKeys(true) to PreparedStatementCreatorFactory in JdbcTacoRepository.saveTacoInfo method