Commit 72794bf5 authored by Matija Obreza's avatar Matija Obreza
Browse files

Descriptions as @Lob

parent c17c7391
......@@ -18,6 +18,7 @@ package org.genesys.filerepository.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.PrePersist;
import javax.persistence.Table;
......@@ -45,6 +46,7 @@ public class RepositoryDocument extends RepositoryFile implements DocumentMetada
/** The abstrct. */
@Column(name = "abstract")
@Lob
private String abstrct;
/*
......
......@@ -27,6 +27,7 @@ import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Lob;
import javax.persistence.PrePersist;
import javax.persistence.Table;
import javax.persistence.Temporal;
......@@ -93,6 +94,7 @@ public class RepositoryFile extends AuditedVersionedModelWithoutId implements En
/** The description. */
@Column(name = "description")
@Lob
private String description;
/** The creator. */
......
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