Marcelo Pio de Castro created DELTASPIKE-1291:
-------------------------------------------------

             Summary: QBE without attributes should search filled parameters in 
example
                 Key: DELTASPIKE-1291
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1291
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Data-Module
    Affects Versions: 1.8.0
            Reporter: Marcelo Pio de Castro
         Attachments: qbewithoutparameters.patch

In method executeExampleQuery from EntityRepositoryHandler there is this 
comment:

{code:java}
// Not sure if this should be the intended behaviour
// when we don't get any attributes maybe we should
// return a empty list instead of all results
{code}

I think the desired behavior would be to search the example object for filled 
attributes and do the query with these attributes.

I made a patch with my idea, but it creates a dependency with 
commons-beanutils. I don't know if there is some alternative to this.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to