[
https://issues.apache.org/jira/browse/DELTASPIKE-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100481#comment-14100481
]
Thomas Hug commented on DELTASPIKE-687:
---------------------------------------
You can also go the other way around and change the method expression prefix
(see http://deltaspike.apache.org/data#method-prefix) instead of your delegate
prefix. Although this might look weird too.
I was digging already into Data internals with my earlier description. It
basically drills down to delegates not being recognized in all cases and the
execution takes the "method expression path" instead of ending up in the
delegate. So... Actually it's a bug :-)
> Let users disable Query Method Expressions
> ------------------------------------------
>
> Key: DELTASPIKE-687
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-687
> Project: DeltaSpike
> Issue Type: Improvement
> Components: Data-Module
> Affects Versions: 1.0.1
> Reporter: Dominik Obermaier
> Assignee: Thomas Hug
>
> While Query Method Expressions are very useful, it would be great to disable
> this feature globally or on a per-method basis if this automatic
> implementation is not desired.
> The following approaches could be worth investigating:
> - Disable the Query Method Expressions feature globally with the
> apache-deltaspike.properties
> - Introduce a new annotation to mark methods for getting ignored by the Query
> Method Expression Parser
--
This message was sent by Atlassian JIRA
(v6.2#6252)