With JPA, DDL-generation for the attribute:
@Column
final String someString;
will be someString varchar(255) null
@Column(length = 1337)
final String someString;
will yield someString varchar(1337) null
.
But how can I get it to produce someString varchar(max) null
?
Is it possible using the length
-attribute, or do I need to use the columnDefinition
-attribute?