gsartori commented on issue #15955:
URL: https://github.com/apache/grails-core/issues/15955#issuecomment-4935389802

   The thread is reported my exact same experience:
   
   ```
   def q = A.where { prop3 == new B(prop4: 'bla') }
   def list = q.list()
   ```
   
   Embedded components are persisted inside the main domain class (owner) 
itself. It can be accessed directly using any dynamic finder as you do directly 
on a domain object.
   
   The above can also be represented in dynamic finders as:
   ```
   A.findAllByProp3(new B(prop4: 'bla'))
   ```
   
   In the reply below is what I need instead:
   
   **[..] it parses it but I get zero results. Most probably because it's 
missing prop5 (which I don't know and can't filter on) [..]**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to