http://db.apache.org/ojb/docu/guides/query.html#subqueries

On 3/24/06, Eric Kelm <[EMAIL PROTECTED]> wrote:
> Is it possible to use a subquery inside of an ODMG query e.g.
>
> select jobs from " + JobBO.class.getName();
> where employees_idemployee = " + employee.getIdEmployee();
> idjob like $1 or idtask_code like
>        (select task_codes from " + TaskCodeBO.class.getName();
>         where task_code_name like $2
>        )
>
> If this is not correct syntax (seems not to be) can someone point me in the
> right direction? Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to