I have a column in the database that is limited to receiving a varchar(255)
, but I need to change that to a larger size.
For this I have added these annotations in the field:
@Column(nullable = true, columnDefinition = "TEXT")
@Length(max = 10000)
But this did not change the supported size of the column I want to change. How do I make this change using the JPA mapping?