tracker issue : CF-3041790

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

Bug 83620:(Watson Migration Closure)In ORMExecuteQuery() method when you pass the queryOption argument, the unique argument is ignored

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Sumit Verma / SUMIT VERMA (Sumit Verma)

Created: 07/19/2010

Components: ORM Support

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / CF11 Update5,CF10 Update16

Priority/Frequency: Normal / Unknown

Locale/System: English / Mac 10 All

Vote Count: 0

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem:

In ORMExecuteQuery() method when you pass the queryOption argument, the unique argument is ignored. So, if I pass the datasource and specify true for unique, I still get Array back.
Method:

<cfset hql = "FROM foo WHERE fooID = 1" /><cfset result = ormExecuteQuery(hql,true,{datasource="test"}) />
Result:

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

Watson Bug ID:	3041790

External Customer Info:
External Company:  
External Customer Name: SUMIT VERMA
External Customer Email: 127A13044B7B54A3992015C2
External Test Config: 07/19/2010

Attachments:

Comments:

The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5 and ColdFusion 10 Update 16
Comment by CFwatson U.
21665 | February 20, 2015 09:28:40 AM GMT