@Lob字段在@Column中使用nullable=false导致hibernate无法自动建表
定义了一个报告类,其中报告内容content使用@Lob定义为大数据字段@Embeddablepublic class ReportPo{ @Column(name="report_title") private String title; @ManyToOne(targetEntity=AccountPo.class) @JoinColumn(name="report_teste
原创
2016-05-24 15:55:53 ·
14799 阅读 ·
1 评论