title: could not initialize a collection
body: <p>i have recs model mapping to a recs table in postgresql, some fields are declared to be Set, when i ran the code, it threw errorr as:</p>
  
  <pre><code>org.hibernate.exception.SQLGrammarException: could not initialize a collection: Recs._recsDetailName
  caused by: org.postgresql.util.PSQLException: ERROR: relation "recs__recsdetailname" does not exist
  </code></pre>
  
  <p>my recs model:</p>
  
  <pre><code>@Entity
  @Table(name = "RECS", uniqueConstraints = @UniqueConstraint(columnNames = "id"))
  public class Recs implements Serializable, Cloneable {
  
      /**
       * Serialized version unique identifier.
       */
      private static final long serialVersionUID = -7316874431882307750L;
  
      @Id
      @Column(name = "id")
      private int _id;
  
      @Basic
      @Column(name = "recs_num")
      private int _recsNum;
  
      @Basic
      @Column(name = "details")
      private String _details;
  
      @Column(name = "d_stamp")
      private Date _timeStamp;
  
      @ElementCollection(fetch = FetchType.EAGER) 
      @Column(name = "recs_detail_name")
      private Set&lt;String&gt; _recsDetailName;
  
      ..
  </code></pre>
  
  <p>my table:</p>
  
  <pre><code>        Column         |            Type             |  Modifiers                           
  -----------------------+-----------------------------+-------------------------------
   id                    | integer                     | not null default 
   recs                  | xml                         | 
   recs_num              | integer                     | 
   details               | character varying(300)      | 
   d_stamp               | timestamp without time zone | default now()
   recs_detail_name      | text[]                   
  </code></pre>
  
  <p>| </p>
  
  <p>a sample recs_detail_name in the db is like this:</p>
  
  <pre><code>{"TeleNav GPS Navigator","Photobucket for BlackBerry","Cellfire Mobile Coupons"}
  </code></pre>
  
  <p>anyone know what might be wrong??? Thanks</p>