Class ToManyRelationAdapter

All Implemented Interfaces:
EntityList, Relation, Iterable<Entity>

public class ToManyRelationAdapter extends AbstractRelationAdapter
Maps a to-many hibernate collection to the Relation interface Note: size() might execute a database query - therefore we do not use size() if we intend to access all entities anyway (toList() or iterator()).