Reference to entity Boolean field default value
@Column(nullable=false, columnDefinition="boolean default false")
public Boolean getBoleanValue() {
return test;
}
or
@PrePersist
public void prePersist()
{
if ( getBoleanValue() == null )
{
setBooleanValue( false );
}
}