[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-4698) Better handling of JPA criteria expressions

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Dec 18 10:31:29 EST 2009


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

Steve Ebersole updated HHH-4698:
--------------------------------

    Description: 
1) better inference of literal expression types.  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. 

2) better explicit selection definition

  was:
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. 

        Summary: Better handling of JPA criteria expressions  (was: treat literal as expression type on comparison)

> Better handling of JPA criteria expressions
> -------------------------------------------
>
>                 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
>
>          Time Spent: 3 hours, 5 minutes
>  Remaining Estimate: 0 minutes
>
> 1) better inference of literal expression types.  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. 
> 2) better explicit selection definition

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