Re: Data Access Filters

From: Ahmed Mohombe (amohomb..ahoo.com)
Date: Thu Mar 06 2008 - 07:03:38 EST

  • Next message: Razumovsky Andrey: "Where can i download modeler source code?"

    > The scenario I am talking about is where you have a
    > client which only has access to certain records in a table, so when
    > the query the table they should only see their records.
    This scenario is so common that I wonder why aren't there many out of the
    box generic solutions.

    > I know this can be done via WHERE clauses with custom code, however I
    > wanted to know if anyone have a more generic approach and whether
    > Cayenne provides any support for this.
    >
    > Hibernate provides something similar with Filters:
    >
    > http://www.hibernate.org/hib_docs/reference/en/html/filters.html
    IMHO Filters are a simple and elegant solution for this problem (even if
    involve a little work).

    I wish there were at least something like Hibernate Filters in Cayenne too.

    Thanks in advance,

    Ahmed.



    This archive was generated by hypermail 2.0.0 : Thu Mar 06 2008 - 07:04:28 EST