Added orphanRemoval=true in @Column annotations. Added nullable field in Variable.