From 4570e50c03a089606c32b3b62d29474631dc2935 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Wed, 25 Sep 2019 15:31:26 -0400 Subject: [PATCH] Fix nullability on one column --- .../main/java/ca/uhn/fhir/jpa/entity/TermCodeSystemVersion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermCodeSystemVersion.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermCodeSystemVersion.java index 85874bac10c..f0effc0e5c6 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermCodeSystemVersion.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermCodeSystemVersion.java @@ -53,7 +53,7 @@ public class TermCodeSystemVersion implements Serializable { @JoinColumn(name = "RES_ID", referencedColumnName = "RES_ID", nullable = false, updatable = false, foreignKey = @ForeignKey(name = "FK_CODESYSVER_RES_ID")) private ResourceTable myResource; - @Column(name = "RES_ID", insertable = false, updatable = false) + @Column(name = "RES_ID", nullable = false, insertable = false, updatable = false) private Long myResourcePid; @Column(name = "CS_VERSION_ID", nullable = true, updatable = false, length = MAX_VERSION_LENGTH)