I had an error "Wrong column type....expected blob" when I used the mysql 
mediumblob datatype. This post 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046291#4046291 has a 
solution that works for me. Eg:

  |     @Lob
  |     @Basic(fetch=FetchType.LAZY)
  |     @Column(name = "data", nullable = false, columnDefinition="mediumblob")
  |     private byte[] data;
  | 
Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098758#4098758

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098758
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to