Re: EJBQL and Refreshing Data

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Thu May 06 2010 - 04:00:53 EDT

  • Next message: Andrew Lindesay: "Re: EJBQL and Refreshing Data"

    yeah, you can use fetch joins (since 3.0). something like
    select f FROM FooBar f inner join fetch f.bars b ...

    2010/5/6 Andrew Lindesay <ap..indesay.co.nz>

    > Hello;
    >
    > If an EJBQL query is performed;
    >
    > SELECT f FROM FooBar f WHERE ...
    >
    > I note (fairly obvious) that the to-many relationships of the fetch'ed
    > FooBar-s are not freshened.
    >
    > Is there a way to achieve this with an EJBQLQuery as I note there is no;
    >
    > query.addPrefetch(..)
    >
    > Thanks for any help.
    >
    > cheers.
    >
    > ___
    > Andrew Lindesay
    > www.silvereye.co.nz
    >
    >

    -- 
    Andrey
    



    This archive was generated by hypermail 2.0.0 : Thu May 06 2010 - 04:02:11 EDT