I set my persistent component with this property:
<cfproperty name="active" ormType="timestamp" notnull="true" dbDefault="now()" />
Now, if I save an entity by not specifying its created_at
value, I get an error: not-null property references a null or transient value: User.active
.
How can I skip specifying all the columns when creating entities?
Thanks!