JPA列注释描述

时间:2014-09-09 16:09:55

标签: java jpa

在JPA列注释中,如何向该列添加一些注释或描述?就像

@Column(name="total", description="This field is only for CEO")
Integer total;

此描述将自动添加到生成的表DDL中。

有可能吗?

感谢。

0 个答案:

没有答案