I wonder if its possible to fetch only the IDs of the associated
collection objects instead of the full blown entity. Lets say I have a
User object hat can have 0..n orders assigned to him. But I only want to
have the order IDs in the collection in the User entity.
Collection<String> orders;
instead of
Collection<UserOrder> orders;