Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3995

SQLStore Can not query elements in a collection

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None

    Description

      Let's say we have a store of type SQLStore<Presentation>. Presentation has a collection field of type Speaker named speakers. If the user wanted to find all presentations with a speaker who's first name is "John" the read method would return an empty collection.

      This is because the index value is placed in the PROPRTY_NAME column. When they query creates the property name to search for, it does not include a index value.

      There are two ways to fix this. a) move the index value out of the property name or b) use a wildcard to idn't the index field if the property is a collection

      Attachments

        Activity

          People

            Unassigned Unassigned
            supittma@redhat.com Summers Pittman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: