Hello,

I have an entity with a column that is annotated with @ManyToOne(optional = 
false). The corresponding database table has a row that contains null for his 
column. When I try to find this entity by it's correct id using 
entityManager.findById, it returns null.

Is this expected behavior? I would have expected an error message.

Regards,
Henno Vermeulen
Huize Molenaar

Reply via email to