Commit bde4182a authored by Richard Bruskiewich's avatar Richard Bruskiewich Committed by Matija Obreza
Browse files

@Lobs instead of varchar(64K)

parent 0bcd1a7e
......@@ -21,6 +21,7 @@ package org.genesys2.server.model.genesys;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
/**
......@@ -61,7 +62,8 @@ public class AllAccnames implements java.io.Serializable {
this.alisId = alisId;
}
@Column(name = "AccNames", length = 65535)
@Column(name = "AccNames")
@Lob
public String getAccNames() {
return this.accNames;
}
......@@ -70,7 +72,8 @@ public class AllAccnames implements java.io.Serializable {
this.accNames = accNames;
}
@Column(name = "OtherIds", length = 65535)
@Column(name = "OtherIds")
@Lob
public String getOtherIds() {
return this.otherIds;
}
......
......@@ -21,6 +21,7 @@ package org.genesys2.server.model.genesys;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
/**
......@@ -70,7 +71,8 @@ public class AllAcqBreeding implements java.io.Serializable {
this.breederCode = breederCode;
}
@Column(name = "Pedigree", length = 65535)
@Column(name = "Pedigree")
@Lob
public String getPedigree() {
return this.pedigree;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment