Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Additional Criteria update

More updates have been added.

Since we are not going to limit the JPQL, we have removed the additional criteria group since it no longer makes sense to offer this.

For an additional criteria callback, we are going to re-use the existing entity listener class, where an additional criteria callback method(s) may be defined (or on the entity itself).

The reason for allowing multiple criteria callback methods (rather than a single method) is that they currently offer the option to filter their callback based on the type of query executing.

Leading me to my next question, do we want to allow the per query(ies) filter that an additional criteria callback method currently offers, and if so would we not want to allow this filter on the additional criteria as well? Meaning we would then allow multiple additional criteria to be defined. Or do we strip this per query filtering and allow only a single callback method?

Right now as it is, you can have a single additional criteria which applies to all queries or multiple callback methods that can filter based on the executing query. Also, callback methods can not be mixed with an additional criteria (it's one way or the other).

Any feedback is highly appreciated.

Thanks,
Guy


On 22/09/2010 8:42 AM, Guy Pelletier wrote:
Ongoing updates and discussions have been added.

http://wiki.eclipse.org/EclipseLink/Development/AdditionalCriteria

Please review and provide any feedback if you are interested in this feature.

Thanks,
Guy

On 20/09/2010 2:45 PM, Guy Pelletier wrote:
I've updated the documentation on the additional criteria work aimed for the 2.2 release.

http://wiki.eclipse.org/EclipseLink/Development/AdditionalCriteria

Please review and provide any feedback.

Thanks,
Guy
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev



Back to the top