[jboss-user] [JBoss Seam] - Re: seam generate-entities failed with mysql blob column ple

ellenzhao do-not-reply at jboss.com
Thu Jul 19 12:42:05 EDT 2007


Most likely you would have to hack a class in the org.hibernate.dialect package.  I filed a Hibnernate JIRA a while ago with a patch, but till now such kind of problem is not get fixed. Okay, first know which dialect you are using. Most likely MySQL5Dialect. That class extends the MySQLDialect. You can open the source code of org.hibernate.dialect.MySQLDialect.java and add the column type you want (make sure your mysql jdbc driver support this type), or write a java class called org.hibernate.dialect.MySQLPatchedDialect.java, and rebuild the hibernate. 

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

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



More information about the jboss-user mailing list