[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1548) Match true_false (and yes_no) columns to boolean HQL Query parameters
Mattias Jiderhamn (JIRA)
noreply at atlassian.com
Thu Oct 19 04:01:25 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1548?page=comments#action_24880 ]
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.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list