|
Thanks Beth ! From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beth Bowden Theuns, On 9/1/06, Doug
Hughes <[EMAIL PROTECTED]>
wrote: Has it been logged into the bug tracker? If so, it's an
easy fix. Doug From: [EMAIL PROTECTED]
[mailto:
[EMAIL PROTECTED]] On Behalf Of Theuns
Pretorius Has this bug been fixed yet? I found this small mistake in reactor in the DAOs: <cfelseif
qRead.recordCount GT 1>
<cfthrow message="Ambiguous Record" detail="Your request
matched more than one record." type="Reactor.Record.AmbiguousRecord"
/>
<cfelseif qRead.recordCount IS 0>
<cfthrow message="Ambiguous Record" detail="Your request
matched more than one record."
type="Reactor.Record.NoMatchingRecord" />
</cfif> As you can see, the Error message is the same for no result and for more
than one result on the read method
of the DAO. NOTE: that the exception type is different though. From: [EMAIL PROTECTED]
[mailto:
[EMAIL PROTECTED]] On Behalf Of Doug
Hughes An iterator is an iterator for one specific object
type. It doesn't create another object type on the fly. If you need
a record as a result of your join try making either a view of the data and
turning that into a record or using a method on a gateway. HTH, Doug From: [EMAIL PROTECTED]
[mailto:
[EMAIL PROTECTED]] On Behalf Of Brian
Kotek Here's a
question that is stumping us. We're trying to join an iterator to another
table. This seems to work, and in the debugging info I can see that the table
contained in the iterator is being correctly joined to the target table.
However, the problem is that only the columns from the first table are being
selected. There doesn't seem to be any way to get Reactor to give me the
columns from both tables. Anyone have any ideas? SELECT [ClientPermission].[clientID] AS [clientID], [ClientPermission].[moduleID] AS [moduleID], [ClientPermission].[productID] AS [productID], [ClientPermission].[clientPermissionUUID] AS [clientPermissionUUID] FROM [GrantsNetwork].[Core].[ClientPermission] AS [ClientPermission] INNER JOIN [GrantsNetwork].[Core].[ProductModule] AS [ProductModule] ON [ClientPermission].[moduleID] = [ProductModule].[moduleID] WHERE [ClientPermission].[clientID] = ? Query Parameter Value(s) -
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- RE: [Reactor for CF] bug? Theuns Pretorius
- RE: [Reactor for CF] bug? Doug Hughes
- Re: [Reactor for CF] bug? Beth Bowden
- RE: [Reactor for CF] bug? Theuns Pretorius
