Simplification of the logic that process the default value in the database for use when insert