From: Daniel T. (JIRA) <no...@at...> - 2006-07-20 20:43:14
|
@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 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.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |