The following part of code

--------------------cut------------------------
Criteria crit = new Criteria();
String bla = "1,2,3";
crit.add( BsModulePeer.M_ID, not_in, Criteria.NOT_IN );
--------------------cut------------------------

produces errors like this:
--------------------cut------------------------
reference to add is ambiguous, both method
add(java.lang.String,java.lang.Object,org.apache.torque.util.SqlEnum) in
org.apache.torque.util.Criteria and method
add(java.lang.String,java.lang.String,java.lang.Object) in
org.apache.torque.util.Criteria match
            crit.add( BsModulePeer.M_ID, not_in, Criteria.NOT_IN );
--------------------cut------------------------

Casting the not_in to an object resolves it. Is this normal? I'm using
rc1.

thx

tom

-- 
b e s t s o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
Thomas Schindl            Project Management   mobile ++43/664/314 59 58
------------------------------------------------------------------------
Anton-Rauch-Str.6a        A-6020 Innsbruck     fax       ++43/512/935834
http://www.bestsolution.at                     phone     ++43/512/935834

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to