Skip to content
Snippets Groups Projects
Commit 521d4f62 authored by Łukasz Łopatowski's avatar Łukasz Łopatowski
Browse files

Fixed entity column definition

parent 5904bb0e
No related branches found
No related tags found
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