1
J'ai une classe entité qui a l'attribut ObjectX:CheckNullability de PrimaryKeyJoinColumn
@OneToOne(fetch = FetchType.LAZY)
@PrimaryKeyJoinColumn
public ClassOfObjectX getObjectX() {
return this.ObjectX;
}
Cette ObjectX ne peux pas être nul?
Dans Hibernate 3.4 je pouvais sauver cet objet dans le référentiel sans aucun problème mais maintenant dans Hibernate 3.6 cette exception lancer d'une manière:
org.hibernate.PropertyValueException: not-null property references a null or transient value: