[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3429) SQLQuery, advice user to always use addScalar if CHAR column are involved.

Strong Liu (JIRA) noreply at atlassian.com
Thu Oct 13 06:12:21 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-3429.
-----------------------------

    Resolution: Duplicate
      Assignee: Strong Liu

duplicated by HHH-2304

> SQLQuery, advice user to always use addScalar if CHAR column are involved.
> --------------------------------------------------------------------------
>
>                 Key: HHH-3429
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3429
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Anthony Patricio
>            Assignee: Strong Liu
>            Priority: Minor
>
> see HHH-2220
> If CHAR(2+) is involved in a SQLQuery and if addScalar isn't used, then the returned  value is truncated which is very bad.
> There is no easy fix for this so a little advice in the documentation would be helpful.

--
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