Skip to content
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

Session#queryForObject may cause NPE. #880

Closed
michael-simons opened this issue Jul 15, 2021 · 0 comments
Closed

Session#queryForObject may cause NPE. #880

michael-simons opened this issue Jul 15, 2021 · 0 comments
Assignees
Labels

Comments

@michael-simons
Copy link
Collaborator

In case of a query asking for a specific but not existing property, queryForObject will get a result, but fail to return it with a NullpointerException as the actual value is null.

It should return literal null instead.

@michael-simons michael-simons self-assigned this Jul 15, 2021
michael-simons added a commit that referenced this issue Jul 15, 2021
michael-simons added a commit that referenced this issue Jul 15, 2021
michael-simons added a commit that referenced this issue Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant