Hi all,
I am trying to do exactly the same : generate an entity with a @Column (length=2000). Looks like it is still not possible. Am I right ? If I do :
field string --named title ;
constraint Size --onProperty title --max 2000
I get :
@Column
@Size(max = 2000)
private String title;
Even in Java EE 7, the integration between JPA and Bean Validation hasn't been made. So this doesn't work (i.e. create a column in the DB with 2000 char long). What I would need is :
@Column(length = 2000)
@Size(max = 2000)
private String title;
Looks like it's not doable, but I might be wrong.
Thanks