I want to do this column can´t be null but when I insert in database one register values null this allows me inserted. I read documentation and I don´t know why doesn´t work
if you directly do insert in database then Hibernate or any persistence provider would not ne able to control you. try to insert using persistence provider.