[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4590?page=c...
]
Steve Ebersole commented on HHH-4590:
-------------------------------------
accounted for sql cast types from CastFunction. However, the intent of these toXXX()
still largely undefined and we may not be able to use sql casting as we currently arer
(the javadocs say toXXX methods are supposed to return the same Expression *instance*;
yuck!)
CASTs from CriteriaBuilder.toXXX methods still need to be fleshed
out
---------------------------------------------------------------------
Key: HHH-4590
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4590
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager, query-criteria, query-hql
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Time Spent: 30 minutes
Remaining Estimate: 0 minutes
The difficulty here is in terms of SELECT clause. If the casts are to be allowed in the
SELECT clause then we need to dynamically account for the underlying
org.hibernate.type.Type to use to read the results.
Problematic because criteria is supposed to mirror the capabilities of the "query
language", but there is no mention of any such functionality in the "query
language" section.
--
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