title: problem with basic attributes java.sql.Blob
body: <p>I have this code </p>
  
  <pre><code>@Entity
  @Table(name = "picture")
  public class Picture implements Serializable {
      @Id
      @Column(name = "id")
      @GeneratedValue
      private int id;
      @Column(name = "format", length = 8)
      private String format;
  
      @Basic(fetch = FetchType.LAZY)
      @Column(name = "context", nullable = true, columnDefinition="mediumblob")
      @Lob
      private java.sql.Blob myBlobAttribute; // protected accessor and modifier
  
      @ManyToOne(fetch = FetchType.EAGER)
      @JoinColumn(name = "branch_fk", referencedColumnName = "id", nullable = false)
      private Branch branch;
  //Some setter and getter
  </code></pre>
  
  <p>I use netbeans 6.7 and in this Ide it show me error on line <code>(private java.sql.Blob myBlobAttribute;)</code>
  but code run and it's make picture table on my database!
  is it a real error or just e notification and how must I solve it?
  error message was:</p>
  
  <pre><code>basic attributes can only be of the following types: java primitive types,wrapper of primitive types, String, java.math.bigInteger, java.math.BigDecimal, java,util.Date, java.util.Calendar, java.sql.Data, java.sql.TimeStamp, byte[], Byte[], char[], Character[], enums, or any Serializable type
  </code></pre>