[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4778) Need better handling of criteria expression casting
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Jan 11 00:24:29 EST 2010
Need better handling of criteria expression casting
---------------------------------------------------
Key: HHH-4778
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4778
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager, query-criteria
Affects Versions: 3.5.0-Beta-2
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.5.0-Beta-3
CriteriaBuilder#toInteger, #toLong, et al. Currently we handle this as a simple in-memory conversion, which can, however, lead to overflows when the cast'ed expression is used in the select clause. The issue is the type Hibernate chooses to actually extract the values from the result set are not effected by the cast.
--
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