If we did, we would need to specify the type of entity that will be stored in the Collection that is needed by the persistence provider. The code is shown in Listing 4-21 and looks almost identical, except for the targetEntity element that indicates the entity type.
set vs list to guarantee the uniqueness of elements in collection
No comments:
Post a Comment