You need to specify those constraints in your mapping, whether hbm files or annotations.
For hbm files :
<property type="string" name="label" column="M_LABEL" not-null="true"/>
For annotations :
@Column(name = "M_LABEL", nullable = false)
private String label;