I need to leave a default value in this table column, I'm mapping the persistencies with Hibernate (summarizing the database is created according to the HQL / JPA that I define in domains.
How do I set a default value for the column?
@NotEmpty(message="O campo foto não pode ficar em branco !")
@Column(name = "foto_usuario", length = 50, nullable = false)
private String foto;