store strings of arbitrary length in Postgresql
I have a Spring application which uses JPA ( Hibernate ) initially created with Spring Roo. I need to store Strings with arbitrary length, so for that reason I've annotated the field with @Lob : public class MyEntity{ @NotNull @Size(min = 2) @Lob private String message; ... } The application works ok in localhost but I've deployed it to an external server and it a problem with encoding has appeared. For that reason I'd like to check if the data stored in the PostgreSQL database is ok or not. The application creates/updates the tables automatically. And for that field (message) it has created a