Session s = openSession();
s.beginTransaction();
VariousTypesEntity e = new VariousTypesEntity();
e.setId( 1 );
e.setFooBool( true );
s.persist( e );
s.getTransaction().commit();
s.close();
s = openSession();
s.beginTransaction();
Boolean b = (Boolean) s.createQuery(
"select e.fooBool from VariousTypesEntity e" ).uniqueResult();
s.getTransaction().commit();
s.close();
assertTrue(b);
Do any of your test cases differ? Try again on 4.1.7?
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
I'm not able to reproduce this on Hibernate 4.1.7 and MySQL 5.1. The following passes w/o issue:
Do any of your test cases differ? Try again on 4.1.7?