update the default value logic.

1.default value is shipped while mapping attribute.
2.ManagedObject's cannot set default value for primary keys.