Fixed OneToOne unidirectional hibernate exception.