Locally I use mysql, so when I use
@Column(columnDefinition = \"TEXT\")
Unfortunately application have to run at different databases too, I\'
If you use @LOB you'll have ORA-00932 exception with SQL containing DISTINCT (http://ora-00932.ora-code.com/)
I think that the solution depends on the bytes size of your string. If its < 4000 bytes, you can try using @Column(name = "...", length = 4000)
I suggest 4000 bytes for DB comptibility reason :