[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1548?page=c...
]
Mattias Jiderhamn commented on HHH-1548:
----------------------------------------
This has been fixed in 3.2. Issue can be closed.
Match true_false (and yes_no) columns to boolean HQL Query
parameters
---------------------------------------------------------------------
Key: HHH-1548
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1548
Project: Hibernate3
Type: Improvement
Versions: 3.1.2
Reporter: Mattias Jiderhamn
Priority: Minor
Attachments: Query-boolean-true_false.zip
When using true_false (and supposedly also yes_no) columns, HQL query parameters has to
be of type String or character (Query.setString()/setCharacter()), while the most natural
thing to use would be boolean parameters (Query.setBoolean()).
See attached file for a failing JUnit test.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira