Re: ORMExecuteQuery problem

2009-11-26 Thread Rupesh Kumar
There seems to be some problem with the type conversion. So out of curiosity, can you check what happens when you replace the query with ormExecuteQuery("from User where region_id =? and usergroup_id=?", [1, 1]); If that works fine, would you mind sending a test case to me (rukumar at adobe )?

ORMExecuteQuery problem

2009-11-18 Thread John Beynon
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("f