title: Collections Mapping vs Association mapping
body: <p>I am very newbie to hibernate. I am learning about Mappings in hibernate in which case i have to go for Collection Mapping and Association Mapping. My confusion is "<code>If an entity or class has collection of values for a particular variable, then we can map those values using any one of the collection interfaces available in java</code>"</p>
  
  <p>in that case why we go  for collection instead of onetomany. Please provide a simple real time example for when we use collection and association mapping</p>