java - Globally set default 'nullable=false' for @Column definition -
from @column
annotation documentation verified nullable
attribute has true
default value.
in entities definitions i'd set columns non-nullable default behavior, don't want set every single column.
is there way globally change default value nullable
attribute (and others)?
jpa takes nullable property tables on database if columns on table notnull
entity attributes @notnull
too. changes on database , recreate entities.
Comments
Post a Comment