I have column String post
.
I want map this post
like a string.
I am using:
@Column(updatable = true, name = "Post", nullable = false, length=50)
public String getPost() {
return post;
}
This code mapping varchar(50)
.
How can I mapp varchar(max)
.
I try this code. But I can't compile it.
@Column(updatable = true, name = "Post", nullable = false, length=max)
public String getPost() {
return post;
}
Thank you for your reply.