You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Marcelo Pio de Castro (JIRA)" <ji...@apache.org> on 2017/09/11 05:00:00 UTC
[jira] [Created] (DELTASPIKE-1291) QBE without attributes should
search filled parameters in example
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)