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

QueryForObjectListener will not be called, if result set is empty [DATACASS-287] #458

Closed
spring-projects-issues opened this issue May 19, 2016 · 1 comment

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented May 19, 2016

Gregor Roth opened DATACASS-287 and commented

Within CassandraTemplate#doSelectOneAsync method the QueryForObjectListener will not be called, if the database resultset is empty. This causes that the caller will never be notified about an empty result. As consequence an empty query result is signaled by a timeout only.

In case of an empty result set the onQueryComplete(…) method should be called with value NULL


Affects: 1.4.1 (Hopper SR1)

Referenced from: pull request #63

Backported to: 1.4.2 (Hopper SR2), 1.3.5 (Gosling SR5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants