Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1291

QBE without attributes should search filled parameters in example

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Data-Module
    • None

    Description

      In method executeExampleQuery from EntityRepositoryHandler there is this comment:

      // 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
      

      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.

      Attachments

        1. qbewithoutparameters.patch
          4 kB
          Marcelo Pio de Castro

        Activity

          People

            Unassigned Unassigned
            marcelo.castro Marcelo Pio de Castro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: