Hello,

Is it possible to invoke a method on the argument to a finder method.
For example, in the home there is a findByFoo (Foo f); in the CMP
EntityBEan, there is a field Foo that is mapped in the database to
Foo.bar via the properties tag.  Now, I could easily have a findByBar
(Bar b) but that would surface the "inner" details of the entity bean.
Is there a syntax for saying something like "$1.bar = $foo".  Of course,
Orion very nicely translates the rhs to foo.bar.

Thanks,
Vidur




Reply via email to