]
Diego Plentz updated HHH-3252:
------------------------------
Affects Version/s: (was: 3.2.6)
3.3.0.CR1
Component/s: core
Retrieve right type of generic property
---------------------------------------
Key: HHH-3252
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3252
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.3.0.CR1
Environment: Hibernate 3.2.6GA, MySQL5
Reporter: Rik van der Kleij
To support the properties of the bean properties project (see
https://bean-properties.dev.java.net/) I created a custom property accessor. This class
works right. Problem is that Hibernate does not uses getReturnType() to determine type of
property but reflection. So every property has type Serializable. Workaround is to set for
each property @Target of @Type. It is much nicer if these annotations would not be
necessary so no difference is seen with normal Java bean properties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: