[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6935) HibernateException in mysql Found: bit, expected: boolean
Manthos (JIRA)
noreply at atlassian.com
Fri Feb 10 05:11:12 EST 2012
[ https://hibernate.onjira.com/browse/HHH-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45487#comment-45487 ]
Manthos commented on HHH-6935:
------------------------------
IMHO priority Critical or Blocker... spring, hibernate, mysql are very common environment...
> HibernateException in mysql Found: bit, expected: boolean
> ---------------------------------------------------------
>
> Key: HHH-6935
> URL: https://hibernate.onjira.com/browse/HHH-6935
> Project: Hibernate ORM
> Issue Type: Bug
> Components: core
> Affects Versions: 4.0.0.Final
> Environment: spring jpa hibernate project above mysql 5.1
> Reporter: orasio spieler
> Labels: BooleanType, mysql
> Attachments: hib4-check.zip
>
>
> Found the problem i also got org.hibernate.HibernateException: Wrong column type ... Found: bit, expected: boolean
> on BooleanType in hibernate 4 they changed the Ctor to
> public BooleanType() {
> this( org.hibernate.type.descriptor.sql.BooleanTypeDescriptor.INSTANCE, BooleanTypeDescriptor.INSTANCE );
> }
> instead of old versions
> public BooleanType() {
> this( BitTypeDescriptor.INSTANCE, BooleanTypeDescriptor.INSTANCE );
> }
> spieler.orasio at gmail.com
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list