Stephan, when using remoting, any query object returned will be
converted to an array of objects, there is no way to have it converted
as you ask.
On the other hand, the LCDS-CF Adapter allows you to define a
query-row-type attribute in the config file that does that job for you.
I really hope that Adobe somehow enhances cfquery to allow us to do
something like this:
<cfquery name="rs" outputFormat="cfc" voType="my_cfc_type">
Some Select here
</cfquery>
that would convert any sql result in an array of those kind of cfcs.
--
João Fernandes
http://www.onflexwithcf.org
http://www.riapt.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5014
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37