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

Anthony Patricio (JIRA) noreply at atlassian.com
Wed Aug 13 03:32:08 EDT 2008


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: Hibernate3
          Issue Type: Improvement
          Components: documentation
            Reporter: Anthony Patricio
            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.
-
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