Assigning a default value if available, an AttributeValue case is null. Rebase with previous versions is also included

In some DAO implementations this code will fail, because DB constraints will force to exist an instance before nserting AttributeValues.

Create a for loop and invoke one create for each AttributeValue.