I want query by embedded object’s attribute, how can I do.
Just navigate it like any other association:
select e
from MyEntity e
where e.embeded.attr = :attr
I want query by embedded object’s attribute, how can I do.
Just navigate it like any other association:
select e
from MyEntity e
where e.embeded.attr = :attr