Greetings ObjectDB team,
Suppose I pass a List of persistent objects to some query as a parameter, can I navigate to those objects' fields ?
E.g.: SELECT x FROM ClassX x WHERE x.a IS MEMBER OF :y.b
Thank You !
Greetings ObjectDB team,
Suppose I pass a List of persistent objects to some query as a parameter, can I navigate to those objects' fields ?
E.g.: SELECT x FROM ClassX x WHERE x.a IS MEMBER OF :y.b
Thank You !
You cannot navigate from a collection of objects to a field in these objects directly.
You need to use JOIN in JPA and contains in JDO.
So if the parameter y is a collection the expression y.b is invalid.