@Column(nullable=false)
simply means that you should always supply value to that field when inserting or updating. If you want to specify a default value you can always add this:
@Column(columnDefinition = "boolean default false")
But as per your question, if you will not define a specific value for that field (through columnDefinition), it will still be null
and will prompt an error during DB insert or update if it's null.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…