Title:
Bug 74797:(Watson Migration Closure)Please allow chaining of Query() methods:
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Daryl Banttari / Daryl Banttari (cfprimer_guy)
Created: 01/06/2009
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 2
Problem:
Please allow chaining of Query() methods:
rs = new Query().setDatasource("test").setSQL("select * from stuff").execute();
Sure, it can make for some long lines of code, but these setters don't currently return anything, so this would be trivial to implement, and a nice convenience. Esp for shorter chains, like:
qry = new Query().setDatasource("test");
rs = qry.setSQL("select * from stuff").execute();
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037173
External Customer Info:
External Company:
External Customer Name: Daryl Banttari
External Customer Email: 63180D784462A9A5992015D5
External Test Config: 01/06/2009
Attachments:
Comments: