AttributeFactory uses Type.getReturnedClass() for the attribute's javatype
--------------------------------------------------------------------------
Key: HHH-4720
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4720
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager, metamodel
Affects Versions: 3.5.0-Beta-2
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.5
o.h.ejb.metamodel.AttributeFactory is currently using Type.getReturnedClass() from the
o.h.type.Type associated with the attibute as it's javaType. That is not accurate in
all cases, especially in subclassing scenarios like java.util.Date and the java.sql
variants. We should instead look at the Member for the attribute to determine the java
type (perhaps applying some validation of the "assignability").
--
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