.annotation" class="externalLink">RUNTIME</a>)
public @interface <span class="memberNameLabel">ElementCollection</span></pre>
<div class="block">Specifies a collection of instances of a basic type or embeddable
 class. 
 Must be specified if the collection is to be mapped by
 means of a collection table.
 
 <pre>
    Example:

    &#064;Entity public class Person {
       &#064;Id protected String ssn;
       protected String name;
       ...
       &#064;ElementCollection  
       protected Set&#060;String