Provides support to increase developer productivity in Java when using Apache Cassandra. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
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
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 https://github.com/spring-projects/spring-data-cassandra/pull/63
Backported to: 1.4.2 (Hopper SR2), 1.3.5 (Gosling SR5)