Is it possible to get a value from a datacontainer when executing a query.
e.g. something like:
select e from demo_MyEntity e where e.someValue = :container_someOtherEntityDc.someValue
Or is it possible to inject a value from the datacontainer via xml without having to do it programatically?
With DataLoadCoordinator you can get an entity instance from a data container and use it as a parameter like this:
select e from demo_MyEntity e where e.someRef = :container_someOtherEntityDc
If you need a value of some attribute of the entity located in the container, you have to add a
ItemChangeEvent listener to the container and set the query parameter programmatically.
Ok thanks for that. I figured as much but I thought I would just double-check.