java - What happens if the length attribute is not specified on the @Column annontation for a String -
what happen if not specified length attribute next annotation? note part string.
@column(name = "region", nullable = false) public string getregion() { homecoming region; }
if not specify length attribute hibernate takes default length 255 if attribute type string.
check @column.length
java hibernate jpa
No comments:
Post a Comment