[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4698) treat literal as expression type on comparison

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Dec 15 13:54:29 EST 2009


treat literal as expression type on comparison
----------------------------------------------

                 Key: HHH-4698
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4698
             Project: Hibernate Core
          Issue Type: Bug
          Components: entity-manager, query-criteria
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole
             Fix For: 3.5


e.g.  cb.equals( someLongAttribute, 123 )

123 would be Integer normally, but because the :left hand side" here is Long, we should treat the literal (123) as Long as well. 

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