andrewoma
09/30/2015, 8:06 AMdata class Foo(val createdAt: DateTime = DateTime.now())
where your default is really just a value stuffed in because you want the value to be notNull but don't want to be forced to put in a value. But really it doesn't make sense when combined with hard constraints. If you want a hard constraint, you wouldn't default it.