Hi everyone. I think this is an easy one... What i...
# spring
d
Hi everyone. I think this is an easy one... What is the right way to define a long text field for an entity? I tried this, and it works with my H2 in-memory dev build, but it doesn't with my production Postgresql build
Copy code
@Lob
    @Column(name = "jhi_body", nullable = false)
    var body: String = "",
I get errors like:
ERROR 6245 --- [ XNIO-2 task-9] o.h.engine.jdbc.spi.SqlExceptionHelper : Bad value for type long : This is a long text value that I want to save
1
google 1