From f968c01d5304516e111399cbbf77200339498379 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 18 Jun 2022 13:59:24 +0430 Subject: changed the max doc size to 40K characters.255 was not enough... --- src/main/java/com/terminaldweller/doc/Doc.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/com/terminaldweller/doc') diff --git a/src/main/java/com/terminaldweller/doc/Doc.java b/src/main/java/com/terminaldweller/doc/Doc.java index 35ee5fd..920fb17 100644 --- a/src/main/java/com/terminaldweller/doc/Doc.java +++ b/src/main/java/com/terminaldweller/doc/Doc.java @@ -1,5 +1,6 @@ package com.terminaldweller.doc; +import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @@ -15,6 +16,8 @@ public class Doc { private String name; private long lastModified; + + @Column(length = 10000) private String body; public Doc() {} -- cgit v1.2.3