The error seems to occur in this function, in a few of the tables.

    public static List retrieveByPKs( List pks, DBConnection dbcon )
        throws TorqueException
    {
        List objs = null;
        if (pks == null || pks.size() == 0)
        {
            objs = new LinkedList();
        }
        else
        {
            Criteria criteria = new Criteria();
            Iterator iter = pks.iterator();
            while (iter.hasNext())
            {
                ObjectKey pk = (ObjectKey)iter.next();
                SimpleKey[] keys = (SimpleKey[])pk.getValue();
                criteria.or(c0);
            }
        objs = doSelect(criteria, dbcon);
        }
        return objs;
    }


----- Original Message -----
From: "Derick" <[EMAIL PROTECTED]>
To: "Turbine Torque Users List" <[EMAIL PROTECTED]>
Sent: Thursday, May 16, 2002 9:07 PM
Subject: Compile time error, criteria.or(c0); c0 unresolved


> Hello,
>
> All the java classes and sql generate great, but when i try to compile i
get
> the following error:
>
>     [javac]
> D:\Projects\AMS\ServletSource\src\com\ams\web\om\BaseCellPeer.java:598:
> cannot resolve symbol
>     [javac] symbol  : variable c0
>     [javac] location: class com.ams.web.om.BaseCellPeer
>     [javac]
criteria.or(c0);
>     [javac]                                                             ^
>
>
> Thanks,
> Derick
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to