title: Mapping bag and set using JPA annotations
body: <p>I am trying to migrate hibernate XML files to JPA annotations.
  I need to map  and  collections in JPA.
  Currently,  i am using one-to-many, many-to-one collections annotations, but i cant find attributes that will distinguish between the different collections.
  Any suggestions on this?</p>