[hibernate-issues] Boolean types with MySQL 5

Chris Long chlong2 at gmail.com
Mon Jan 15 08:44:08 EST 2007


Hello,

When I was previously using MySQL 4 and would create a boolean through
hibernate, it would create the boolean as a Tinyint.  Now with MySQL 5, it's
creating it as a bit and causing my code to no longer work.  I'm using the
wrapper class for Boolean in my Java POJO, Hibernate 3.2, Java 5, and MySQL
5.

How would I go about getting Hibernate to properly create the booleans as
tinyints?

Thanks,

Chris Long
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20070115/4d00250f/attachment.html 


More information about the hibernate-issues mailing list