My eclipse反向生成实体类和hbm.xml文件
//Fields@IdprivateStringuserId;//用户id@Column(length=2)privateStringmanagel;@Column(le...
// Fields
@Id
private String userId; //用户id
@Column(length = 2)
private String managel;
@Column(length = 2)
private String deparode;
@OneToOne(cascade={CascadeType.REMOVE},fetch=FetchType.LAZY)
private EnterpriseInfo enterpriseinfo;
@Id @Column(length = 2)@OneToOne(cascade{CascadeType.REMOVE},fetch=FetchType.LAZY)这几行也是可以自动生成的吗
@Id @Column(length = 2)@OneToOne(cascade{CascadeType.REMOVE},fetch=FetchType.LAZY)这几行也是可以自动生成的吗 展开
@Id
private String userId; //用户id
@Column(length = 2)
private String managel;
@Column(length = 2)
private String deparode;
@OneToOne(cascade={CascadeType.REMOVE},fetch=FetchType.LAZY)
private EnterpriseInfo enterpriseinfo;
@Id @Column(length = 2)@OneToOne(cascade{CascadeType.REMOVE},fetch=FetchType.LAZY)这几行也是可以自动生成的吗
@Id @Column(length = 2)@OneToOne(cascade{CascadeType.REMOVE},fetch=FetchType.LAZY)这几行也是可以自动生成的吗 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询