[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4698?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira