In JPA, what does setting a column's nullable to false actually do?

前端 未结 0 1489
半阙折子戏
半阙折子戏 2021-01-07 11:11

In JPA, if a column isn\'t nullable, it must have a default value. So if I say

@Column(nullable=false) Boolean isExpired;

Would it default to true or false? Wh

相关标签:
回答
  • 消灭零回复
提交回复
热议问题