When a query result is empty, currently no result-set observation is created.
This is because the current logic creates an observation only when ResultSet#next() returns true. (empty result-set returns false on next())
Instead of this behavior, it should always create an observation for ResultSet(when the fetch type is included for the boot property) and tag the row-count=0 for the empty result set.
When a query result is empty, currently no result-set observation is created. This is because the current logic creates an observation only when
ResultSet#next()
returnstrue
. (empty result-set returnsfalse
onnext()
)Instead of this behavior, it should always create an observation for
ResultSet
(when thefetch
type is included for the boot property) and tag therow-count=0
for the empty result set.