[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Lob mapped to tinyblob on MySQL

weiss do-not-reply at jboss.com
Thu Oct 5 13:45:59 EDT 2006


Cannot make Jboss (Hibernate?) autogenerate tables with the Lob type I need for my type, which is byte[]. I have tried to annotate like:
@Lob (type=LobType.BLOB)
and
@Lob
@Column (columnDefinition="BLOB")
without success. The column in question always get generated as tinyblob, which does not suffice for my blob data.
I'm unable to locate any documentation that could guide me in this matter.
I'm using Jboss 4.0.4GA, Mysql 4.1.11 and MySQL Connector 3.0.16.

Greatful for any help here.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976363



More information about the jboss-user mailing list