Skip to content
Snippets Groups Projects
Unverified Commit be848fd0 authored by Łukasz Łopatowski's avatar Łukasz Łopatowski Committed by GitHub
Browse files

Merge pull request #51 from nmaas-platform/49-fix-column-definition-for-translation-label-content

Fixed entity column definition
parents 12234d46 521d4f62
Branches
Tags
No related merge requests found
......@@ -14,7 +14,6 @@ import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import java.util.Map;
@Getter
......@@ -35,7 +34,7 @@ public class LanguageMailContent {
private String subject;
@ElementCollection(fetch = FetchType.EAGER)
@Lob
@Column(length = 4096)
@Fetch(FetchMode.SELECT)
private Map<String, String> template;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment