tracker issue : CF-3039326

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 78864:(Watson Migration Closure)In script mode, but even in tag mode, can we please fix thismyQry = new Query();myQry

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): IT Support / Dale Fraser (Dale_Fraser)

Created: 07/16/2009

Components: Language, Functions

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 3

Problem:

In script mode, but even in tag mode, can we please fix thismyQry = new Query();myQry.setSQL("select * from books where bookid = :bookid");myQry.addParam(name="bookid",value="5",CFSQLTYPE="CF_SQL_INT");qryRes = myQry.execute();Can we add support for the type without the CF_SQL_ it is totally redundant and annoying, I would also like to propose supporting the just type rather then CFSQLTYPEthusmyQry.addParam(name="bookid",value="5",CFSQLTYPE="CF_SQL_INT");could be just thismyQry.addParam(name="bookid",value="5",type="int");I understand it can support both for backward compatability, but please, how much nice and cleaner is that. I would imagine it would be an easy change. 
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3039326

External Customer Info:
External Company:  
External Customer Name: Dale Fraser
External Customer Email: 66D97270447003E29920157F
External Test Config: 07/16/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23380 | November 10, 2011 06:58:55 PM GMT
+1 vote. Get rid of unnecessary clutter from our code. -- Adam
Vote by External U.
23381 | November 10, 2011 06:58:56 PM GMT
This bug has been voted..
Vote by External U.
23382 | November 10, 2011 06:58:57 PM GMT