Java Hyperjaxb@Entity

Java Hyperjaxb@Entity,java,jaxb,hyperjaxb,Java,Jaxb,Hyperjaxb,如何避免在@Entity注释中声明派生类的完全限定名? 我有以下xsd: <xsd:complexType name="Project"> <xsd:annotation> <!-- ... --> </xsd:annotation> <xsd:sequence> <!-- ... --> </xsd:sequence> </xsd:c

如何避免在@Entity注释中声明派生类的完全限定名? 我有以下xsd:

<xsd:complexType name="Project">
        <xsd:annotation>
                <!-- ... -->
        </xsd:annotation>
 <xsd:sequence>
  <!-- ... -->
 </xsd:sequence>
</xsd:complexType>
我需要从@Entity中明确删除name,如下所示:

@Entity
@Table(name = "project")
@Inheritance(strategy = InheritanceType.JOINED)
public class Project
    implements Equals, HashCode, ToString
{
...
}

谢谢,

哇,Hyperjaxb现在在SO上有了自己的标签。:)


在新版本(即将发布的0.5.5)中,HJ3生成非限定实体名称。请参阅。

哇,Hyperjaxb现在在SO上有了自己的标记。:)


在新版本(即将发布的0.5.5)中,HJ3生成非限定实体名称。请参阅。

为什么?当然实体名称在很大程度上是不相关的?斯卡夫曼:一些用户报告的限定名称在JPA中实际上不是标准的。为什么?实体名称在很大程度上是不相关的吗?斯卡夫曼:一些用户报告的限定名称在JPA中实际上不是标准的。@lexicore你能帮我一下吗?我正在使用0.5.6版,但我想在
@entity
名称字段中使用完全限定的名称?@lexicore你能帮我一下吗?我正在使用0.5.6版,但我想使用完全限定的名称
@实体
名称字段中的名称?
@Entity
@Table(name = "project")
@Inheritance(strategy = InheritanceType.JOINED)
public class Project
    implements Equals, HashCode, ToString
{
...
}