From 69442c6ea7e96f499e4615a2f702a1edb25d29f2 Mon Sep 17 00:00:00 2001 From: brmeyer Date: Tue, 18 Sep 2012 07:13:20 -0400 Subject: [PATCH] HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI job --- .../test/integration/onetomany/embeddedid/PersonTuple.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)