Actions
Bug #4227
closedProvenance - use Integer return type in Queryable interface
Start date:
07/07/2009
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
4227
Description
Found out that resultset.getInt(x) will return 0 when in fact there was a null (no result). Changed to not start IDs at 0 so as to avoid unexpected results, but a 0 can still be confusing and ambiguous.
By using an Integer return type, a NULL could be passed to the caller and handled appropriately.
Related issues
Updated by Daniel Crawl about 15 years ago
These methods now return null if the query has 0 results.
Actions