Hi,

I have a department class and employee class. The department class has a
vector which will be used for retrieving the employee information.

When i retrieve data i want to filter out employees whose active status
is 'N'. I have a column called active in employee of char(1).

I am able to get the department and all its employees using the
following OQL query but i don't know to filter on the active flag.
SELECT p FROM Department p WHERE id = $1

Anyone please help me. Thanks in andvance.

Ramki

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to