I believe that recent changes in  reactor object translator converts all strings to lowercase before comparing in the xml files. I would just make sure all the tags your dictionary and all the object definition names in the reactor.xml are in lower case, especially if they were created < rev 331. Then it should not make a difference whether you use upper or lower case in your code, it will be translated to lower by the object translator and compared to the the all lower stuff in your dictionary/reactor xml files.

doug s.
www.evenamonkey.com



On 8/21/06, Tom Chiverton < [EMAIL PROTECTED]> wrote:
I have an object in reactor with name='user', but when I do:
var gw=variables.ReactorGateway.createGateway("user");
var q=gw.createQuery();
q.getWhere().isEqual("User","dept",arguments.dept_code);
return gw.getByQuery(q);
The query has
WHERE `User`.`usr_dept` = (param 1)
in the where clause, which MySQL 5 chokes on.
I can fix it in the query by changing the upper case U to a lower case one -
*or* using a lower case U in the first argument to getWhere().isEqual().

Should Reactor not throw a 'no such object' error on the isEqual line ?
--
Tom Chiverton
Helping to paradigmatically mesh sticky architectures

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.  If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to