[hibernate-issues] [Hibernate-JIRA] Created: (HBX-729) boolean types mapped to bit in MySQL 5 not working with EJB3 in JBoss 4.0.4.GA
Daniel Pocock (JIRA)
noreply at atlassian.com
Tue Aug 15 15:25:18 EDT 2006
boolean types mapped to bit in MySQL 5 not working with EJB3 in JBoss 4.0.4.GA
------------------------------------------------------------------------------
Key: HBX-729
URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-729
Project: Hibernate Tools
Type: Bug
Versions: 3.2beta6
Environment: Debian
Reporter: Daniel Pocock
I define a property with type="boolean" in my .hbm.xml
The generated SQL column defaults to bit(1). However, when using JBoss 4.0.4.GA and MySQL 5.0.22, reading the property (getXXX()) always return false
If I force hbm2sql to generate a tinyint column, the boolean works as I would have expected:
<column name="myColumn" sql-type="tinyint"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list