diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/PersonTuple.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/PersonTuple.java index 47c2d9bbd7..4305a52c3f 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/PersonTuple.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/onetomany/embeddedid/PersonTuple.java @@ -79,17 +79,17 @@ public class PersonTuple implements Serializable { @MapsId("personAId") @ManyToOne(optional = false) - @JoinColumn(insertable = false, updatable = false) + @JoinColumn(insertable = false, updatable = false, nullable=false) private Person personA; @MapsId("personBId") @ManyToOne(optional = false) - @JoinColumn(insertable = false, updatable = false) + @JoinColumn(insertable = false, updatable = false, nullable=false) private Person personB; @MapsId("constantId") @ManyToOne(optional = false) - @JoinColumn(insertable = false, updatable = false) + @JoinColumn(insertable = false, updatable = false, nullable=false) private Constant constant; @Column(nullable = false)