Permalink
Browse files

using @Lob instead of string

  • Loading branch information...
1 parent 70504fa commit 4bb3de2062144fd68a004a2c081485c2d1a27e5d @lucmoreau committed Feb 4, 2014
Showing with 5 additions and 1 deletion.
  1. +5 −1 prov-sql/src/main/java/org/openprovenance/prov/sql/AValue.java
View
6 prov-sql/src/main/java/org/openprovenance/prov/sql/AValue.java
@@ -14,6 +14,7 @@
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
+import javax.persistence.Lob;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;
@@ -135,7 +136,10 @@
*
*/
@Basic
- @Column(name = "STRING", length = 255)
+ @Column(name = "STRING")
+ @Lob
+// @Column(name = "STRING", length = 255)
+ // @Column(name = "STRING", columnDefinition="TEXT")
public String getString() {
return string;
}

0 comments on commit 4bb3de2

Please sign in to comment.