The requirement is that the user can write an article, therefore I choose type Text for the content field inside mysql database. How can I convert
Text
content
for mysql 'text':
@Column(columnDefinition = "TEXT") private String description;
for mysql 'longtext':
@Lob private String description;