Using HbnContainer

We are working with hibernate in a ERP application we are developing, so far so good, however, we came across a problem with HBNContainer.addItem
The problem is the class has a @ManyToOne not null relations, and calling addItem give us a nullability problem

Any idea how to deal with that

appreciate your help