If you are using JPA/Hibernate with Derby as part of your integration tests, and you have a String > 255 chars. Here is how you have to annotate your attribute:
@Column(name = “BODY”, length=3800)
@Lob
private String body;
If you are using JPA/Hibernate with Derby as part of your integration tests, and you have a String > 255 chars. Here is how you have to annotate your attribute: