Hi,

I'm using Hibernate implementation of JPA annotation to map mysql tables. I 
encountered problems when it came to TEXT and BLOB types (and their TINY, 
MEDIUM, LONG counterparts) can anyone point me to a page explaining how to map 
these types using annotations.

Considering BLOBs I found the solution : @Lob + @Column([whatever], length= X) 
where X is the corresponding length for the BLOB (LONG, MEDIUM, TINY) type.

Dav'

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

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

Reply via email to