How to avoid declaring fully qualified name of the derived class in @Entity annotation? I have the following xsd:
<xsd:complexType name="Project">
<xsd:annotation>
<!-- ... -->
</xsd:annotation>
<xsd:sequence>
<!-- ... -->
</xsd:sequence>
</xsd:complexType>
but it generates the following java source:
@Entity(name = "com.mycompany.db.Project")
@Table(name = "project")
@Inheritance(strategy = InheritanceType.JOINED)
public class Project
implements Equals, HashCode, ToString
{
...
}
I need to remove explicitly name from @Entity, to be like:
@Entity
@Table(name = "project")
@Inheritance(strategy = InheritanceType.JOINED)
public class Project
implements Equals, HashCode, ToString
{
...
}
Thanks,