Hello, what would be the correct where clause if I want to check if the user "james" is in the users field of this MyObject class:
@Entity
public MyObject {
@PersistentCollection
private Collection<String> users;
}
Select t from MyOjbect t JOIN t.users x where 'james' ...
I got it working with a Collection of mapped objects, say,
Collection<User> but I am trying to get it working without it.
Niko,
