[kepler-dev] [Bug 4227] New: - Provenance - use Integer return type in Queryable interface
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Tue Jul 7 09:47:19 PDT 2009
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4227
Summary: Provenance - use Integer return type in Queryable
interface
Product: Kepler
Version: 1.x dev
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: provenance
AssignedTo: crawl at sdsc.edu
ReportedBy: leinfelder at nceas.ucsb.edu
QAContact: kepler-dev at kepler-project.org
BugsThisDependsOn: 4225
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.
More information about the Kepler-dev
mailing list