]
Mario Fusco reassigned DROOLS-31:
---------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
RowAdapter should not throw Exception when Object not found
-----------------------------------------------------------
Key: DROOLS-31
URL:
https://issues.jboss.org/browse/DROOLS-31
Project: Drools
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Affects Versions: 5.5.0.Final
Reporter: Ryan Nideffer
Assignee: Mario Fusco
RowAdapter throws an undocumented, unchecked exception if an identifier passed to get()
does not exist as a row in the returned query.
This pattern is not ideal, and instead should simply return null, thereby allowing
clients to easily skip non-existent objects much more cleanly and more lightweight than
exception handling.
Additionally, the ViewChangedEventListener interface does not provide a way to know which
query was invoked for the callback. It is cumbersome to create per-query
ViewChangedEventListener objects which allows you to avoid querying identifiers that you
know exist in the query result callback.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: