Massimo Schiavon created DELTASPIKE-1422:
--------------------------------------------

             Summary: Property name extraction fails for property names having 
comparator name as substring
                 Key: DELTASPIKE-1422
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1422
             Project: DeltaSpike
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Data-Module
    Affects Versions: 1.9.3
            Reporter: Massimo Schiavon


Suppose you have an Entity like:
{code:java}
class A {
  Integer id;
  String fooInFieldName;
}
{code}
 
and define a Repository with a query method:
{code:java}
class R extends EntityRepository<A, Integer> {
  List<A> findByFooInFieldNameIn(List<String> fooInFieldName);
}
{code}

property name extraction will extract "foo" as property name.

Here is a possible fix for the issue:
https://github.com/schmaxit/deltaspike/commit/73b4287d50bb09c6bc747ff7d52b5385c48bd087



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to