JPA

JPA设置默认值,字段长度

JPA设置默认值,字段长度

Posted by wenfengSAT on August 28, 2018

JPA设置默认值,字段长度


@Column(nullable = false, columnDefinition = "varchar(20) default 'LTD'")