Try searching the cayenne site for "Restricting qualifier"
I can't remember the details, but I think it's a matter of using a
DataContextDelegate.willPerformSelect().
There may be a better way to do it now, but I can't remember if that's
a 1.2 feature or a late 1.1 feature.
On 1/3/06, Dave Dombrosky <dombr..mail.com> wrote:
> How would I be able to apply a custom Postgresql function or operator to a
> query (specifically the WHERE clause) in Cayenne 1.1.3? Am I stuck using
> ProcedureQuery, or can I possibly use SelectTemplate?
>
> I saw something in the Cayenne Examples package under the
> aggregate-functions dir using "db-attribute-derived" values, but I couldn't
> figure out if I could use that in my case.
>
> Any suggestions?
>
> -Dave
>
This archive was generated by hypermail 2.0.0 : Tue Jan 03 2006 - 15:16:28 EST