Hi,

I'm using the following line of code;

users = ormExecuteQuery("from User where region_id in (?) and
usergroup_id in (?)", [1, 1]);

the parameters are set to 1 and 1 purely for test purposes but I get a
nullpointer error returned, whereas if i change the line to ;

users = ormExecuteQuery("from User where region_id in (1) and
usergroup_id in (1)");

it runs ok...any ideas?

thanks,

john.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328488
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to