Increase column lengths

This commit is contained in:
jamesagnew 2018-04-06 17:29:03 -04:00
parent f013448917
commit 26710f7608
2 changed files with 9 additions and 9 deletions

View File

@ -38,15 +38,15 @@ public class TermConceptDesignation implements Serializable {
@GeneratedValue(strategy = GenerationType.AUTO, generator = "SEQ_CONCEPT_DESIG_PID") @GeneratedValue(strategy = GenerationType.AUTO, generator = "SEQ_CONCEPT_DESIG_PID")
@Column(name = "PID") @Column(name = "PID")
private Long myId; private Long myId;
@Column(name = "LANG", length = 50, nullable = true) @Column(name = "LANG", length = 500, nullable = true)
private String myLanguage; private String myLanguage;
@Column(name = "USE_SYSTEM", length = 50, nullable = true) @Column(name = "USE_SYSTEM", length = 500, nullable = true)
private String myUseSystem; private String myUseSystem;
@Column(name = "USE_CODE", length = 50, nullable = true) @Column(name = "USE_CODE", length = 500, nullable = true)
private String myUseCode; private String myUseCode;
@Column(name = "USE_DISPLAY", length = 50, nullable = true) @Column(name = "USE_DISPLAY", length = 500, nullable = true)
private String myUseDisplay; private String myUseDisplay;
@Column(name = "VAL", length = 50, nullable = false) @Column(name = "VAL", length = 500, nullable = false)
private String myValue; private String myValue;
public String getLanguage() { public String getLanguage() {

View File

@ -43,22 +43,22 @@ public class TermConceptProperty implements Serializable {
@GeneratedValue(strategy = GenerationType.AUTO, generator = "SEQ_CONCEPT_PROP_PID") @GeneratedValue(strategy = GenerationType.AUTO, generator = "SEQ_CONCEPT_PROP_PID")
@Column(name = "PID") @Column(name = "PID")
private Long myId; private Long myId;
@Column(name = "PROP_KEY", length = 200, nullable = false) @Column(name = "PROP_KEY", length = 500, nullable = false)
@NotBlank @NotBlank
private String myKey; private String myKey;
@Column(name = "PROP_VAL", length = 200, nullable = true) @Column(name = "PROP_VAL", length = 500, nullable = true)
private String myValue; private String myValue;
@Column(name = "PROP_TYPE", length = MAX_PROPTYPE_ENUM_LENGTH, nullable = false) @Column(name = "PROP_TYPE", length = MAX_PROPTYPE_ENUM_LENGTH, nullable = false)
private TermConceptPropertyTypeEnum myType; private TermConceptPropertyTypeEnum myType;
/** /**
* Relevant only for properties of type {@link TermConceptPropertyTypeEnum#CODING} * Relevant only for properties of type {@link TermConceptPropertyTypeEnum#CODING}
*/ */
@Column(name = "PROP_CODESYSTEM", length = 200, nullable = true) @Column(name = "PROP_CODESYSTEM", length = 500, nullable = true)
private String myCodeSystem; private String myCodeSystem;
/** /**
* Relevant only for properties of type {@link TermConceptPropertyTypeEnum#CODING} * Relevant only for properties of type {@link TermConceptPropertyTypeEnum#CODING}
*/ */
@Column(name = "PROP_DISPLAY", length = 200, nullable = true) @Column(name = "PROP_DISPLAY", length = 500, nullable = true)
private String myDisplay; private String myDisplay;
/** /**