[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3770) NPE in o.h.dialect.function.CastFunction

Ondra Žižka (JIRA) noreply at atlassian.com
Mon Feb 9 10:14:38 EST 2009


NPE in o.h.dialect.function.CastFunction
----------------------------------------

                 Key: HHH-3770
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3770
             Project: Hibernate Core
          Issue Type: Patch
         Environment: Hibernate Core from trunk
            Reporter: Ondra Žižka
         Attachments: CastFunctionNPE.diff

CastFunction.render() throws NPE when "CAST( foo AS Type )" contains invalid type, as described at http://forum.hibernate.org/viewtopic.php?t=960362.

This is a patch to throw QueryException instead.

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