[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1548) Match true_false (and yes_no) columns to boolean HQL Query parameters

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Oct 19 06:02:05 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1548?page=all ]
     
Max Rydahl Andersen closed HHH-1548:
------------------------------------

    Fix Version: 3.2.0.ga
     Resolution: Fixed

as requested by initial reporter. 

> 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
>      Fix For: 3.2.0.ga
>  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