On May 28, 2006, at 10:50 PM, Max Rydahl Andersen wrote:

> And I guess you really want it disjunct from the mapping and not  
> "just" where the assocation is already defined ?
>
> <class name="User">
>   ...
>   <set name="rules" fetch="select">
>    ...
>    <profile name="login" fetch="join"/>
>   </set>
>
>   <set name="orders">
>     ...
>     <profile name="orders" fetch="select"/>
>   </set>
> </class>
>
> Where the name could actually be comma seperated.
>
> Note that this construct doesn't prevent still having a
> <profile name="login"> as a way to declare the association fetching
> independent on the declaration and of course the shared things.

In addition to these fetch profiles, how difficult would it be to  
expose dynamic cascading profiles? We discussed this several times in  
the past. IMO this has also been requested a few times and I've seen  
good use cases in real projects.



_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to