I solved it, and so, maybe someone will find this useful:
I tried to use columnDefinition = "LONGTEXT" in the wrong place. There is only a link to the ProductLocalization , where multilingual descriptions are stored. When i used
@ManyToOne @JoinColumn(name = AbstractLocalizingEntity.COLUMN_RELATED_ENTITY, nullable = false) private Product entity; @Column(name = Product.COLUMN_DESCRIPTION, columnDefinition = "LONGTEXT") private String description;
in the ProductLocalization class, it started to work fine. Thank you all for your help.
source share