[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-395?page=all ]
Emmanuel Bernard resolved ANN-395:
----------------------------------
Fix Version: 3.2.1
Resolution: Fixed
@Embedded can not map interface
-------------------------------
Key: ANN-395
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-395
Project: Hibernate Annotations
Type: Bug
Versions: 3.2.0.cr1
Reporter: Daniel Tabuenca
Fix For: 3.2.1
When configuring with HBM/XML a component you can use the
class="com.MyClassImpl" to especify the implementation class for a component
property. This would be equivalent to something like.
@Embedded(targetEntity=MyClassImpl.class)
MyClassInterface getMyClass(){
return myClass;
}
While I know this is not part of the EJB3 spec, being that it is a feature in hibernate
when using hbm/xml there should be a simple way to do this with annotations without having
to resort to custom user types.
--
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