]
Hardy Ferentschik resolved HHH-6535.
------------------------------------
Resolution: Fixed
Support @org.hibernate.annotations.Target
-----------------------------------------
Key: HHH-6535
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6535
Project: Hibernate Core
Issue Type: Sub-task
Components: metamodel
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Fix For: 4.0.0.next
{quote}
Sometimes, the type guessed by reflection is not the one you want Hibernate to use. This
is especially true on components when an interface is used. You can use @Target to by pass
the reflection guessing mechanism (very much like the targetEntity attribute available on
associations.
{code}
@Embedded
@Target(OwnerImpl.class)
public Owner getOwner() {
return owner;
}
{code}
{quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: