Hibernate version: 3.1
All,
I've run into an issue that I've seen posted here, but I haven't seen a resolution for it.
Per MySQL's documentation,
http://dev.mysql.com/doc/refman/5.0/en/ ... rview.html, MySQL 5.0.3 no longer converts a BIT to a TINYINT(1). That's problematic because the Hibernate MySQLDialect converts BOOLEAN to BIT, which was proper prior to MySQL 5.0.3.
The issue has caused problems in my deployment of JBoss Portal. I've fixed the issue by inserting the Portal tables by hand using answers from the great oracle Google. However, I'm still wondering if this is an issue that is going to be addressed in a future version of Hibernate. I would suggest just converting the BOOLEAN to TINYINT(1) in the MySQLDialect. That should remedy the problem for most current versions of MySQL.
I'm a Hibernate newbie, so if there's a way that I can change something on my end to make this happen automatically, I would love to learn how to do that.
Thanks,
Talib