[ https://issues.apache.org/jira/browse/DELTASPIKE-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100419#comment-14100419 ]
Thomas Hug commented on DELTASPIKE-687: --------------------------------------- Never mind, found your message on the user list (http://mail-archives.apache.org/mod_mbox/deltaspike-users/201408.mbox/%3C53EFE6FF.2080104%40gmail.com%3E) DS Data currently doesn't collect delegates, so the assumtion is that if it's not a @Query, not a concrete method and not a method expression, it's a delegate. It would be cleaner to actually collect all delegates during startup and then get to correct method type instead of disabling method expressions. Will give it a look. > 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)