Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

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

Anupam M (JIRA)

2008-08-13


Author LoginPost Reply
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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.